摘要:
EF手动设置connectionStringpublic class EmployeesEntities : DbContext { private readonly static string CONNECTION_STRING = "name=EmployeesEntities2"; //指定connectionString名称 public DbSet<Employees> Employees { get; set; } public EmployeesEntities() : base(CONNECTION_STRI... 阅读全文