public UnitOfWork(IDatabaseFactory dbFactory) { this.dbFactory = dbFactory; dataContext = dbFactory.DataContext; }
public DatabaseFactory() { dataContext = new AssuranceContext(); }
public UnitOfWork(IDatabaseFactory dbFactory) { this.dbFactory = dbFactory; dataContext = dbFactory.DataContext; }
public DatabaseFactory() { dataContext = new AssuranceContext(); }