public DatabaseFactory() { localDataContext = new SSKEntities(); centralizedDataContext = new TrinityCentralizedDBEntities(); }
public Centralized_UnitOfWork(IDatabaseFactory databaseFactory) { // _databaseFactory = databaseFactory; this.databaseFactory = new DatabaseFactory(); dataContext = this.databaseFactory.GetCentralizedDbContext(); }
public Centralized_UnitOfWork() { databaseFactory = new DatabaseFactory(); dataContext = databaseFactory.GetCentralizedDbContext(); }
public CentralizedRepository(TrinityCentralizedDBEntities dataContext) { this.dataContext = dataContext; dbset = this.dataContext.Set <T>(); }