public Transaction(IDatabaseFactory databaseFactory) { _context = _context ?? databaseFactory.MakeDbContext(); }
public GPIEntities MakeDbContext() { return(_entities ?? (_entities = new GPIEntities())); }
public Transaction(IDatabaseFactory databaseFactory) { _context = _context ?? databaseFactory.MakeDbContext(); }
public GPIEntities MakeDbContext() { return(_entities ?? (_entities = new GPIEntities())); }