コード例 #1
0
 public UserStorage()
 {
     currentContext = new EFDbContext();
     currentContext.Configuration.ProxyCreationEnabled = false;
 }
コード例 #2
0
 public PlayerStorage()
 {
     currentContext = new EFDbContext();
 }
コード例 #3
0
 public TeamDataStorage()
 {
     currentContext = new EFDbContext();
     currentContext.Configuration.LazyLoadingEnabled = true;
     currentContext.Configuration.ProxyCreationEnabled = false;
 }
コード例 #4
0
 public TeamDataStorage()
 {
     currentContext = new EFDbContext();
     currentContext.Configuration.LazyLoadingEnabled   = true;
     currentContext.Configuration.ProxyCreationEnabled = false;
 }
コード例 #5
0
 public EFPlayersRepository()
 {
     currentContext = new EFDbContext(ConfigurationManager.ConnectionStrings[0].ConnectionString);
 }
コード例 #6
0
 public UserStorage()
 {
     currentContext = new EFDbContext();
     currentContext.Configuration.ProxyCreationEnabled = false;
 }