Exemplo n.º 1
0
 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);
 }
Exemplo n.º 6
0
 public UserStorage()
 {
     currentContext = new EFDbContext();
     currentContext.Configuration.ProxyCreationEnabled = false;
 }