public class MyEF:DbContext { public MyEF():base("name=CodeFirstDb") { Database.SetInitializer(null); } }}
本文共 218 字,大约阅读时间需要 1 分钟。
public class MyEF:DbContext { public MyEF():base("name=CodeFirstDb") { Database.SetInitializer(null); } }}
转载于:https://www.cnblogs.com/kangyuanjiang/p/8726182.html