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 EFPlayersRepository() { currentContext = new EFDbContext(ConfigurationManager.ConnectionStrings[0].ConnectionString); }