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