示例#1
0
 public DbContextMain(string pConnectionString)
 {
     _connectionString = pConnectionString;
     _pf = new ProviderFactory();
 }
示例#2
0
 public DbContextMain()
 {
     _connectionString = ConfigurationManager.AppSettings["ConnectionStrings:DefaultConnection"];
     _pf = new ProviderFactory();
 }