public UserStorage()
 {
     currentContext = new EFDbContext();
     currentContext.Configuration.ProxyCreationEnabled = false;
 }
 public PlayerStorage()
 {
     currentContext = new EFDbContext();
 }
 public TeamDataStorage()
 {
     currentContext = new EFDbContext();
     currentContext.Configuration.LazyLoadingEnabled = true;
     currentContext.Configuration.ProxyCreationEnabled = false;
 }
 public TeamDataStorage()
 {
     currentContext = new EFDbContext();
     currentContext.Configuration.LazyLoadingEnabled   = true;
     currentContext.Configuration.ProxyCreationEnabled = false;
 }
 public EFPlayersRepository()
 {
     currentContext = new EFDbContext(ConfigurationManager.ConnectionStrings[0].ConnectionString);
 }
Esempio n. 6
0
 public UserStorage()
 {
     currentContext = new EFDbContext();
     currentContext.Configuration.ProxyCreationEnabled = false;
 }