public PersonUnit(BLINKContext context) { this._context = context; this.PersonRepository = new PersonRepository(context); this.AddressRepository = new AddressRepository(context); this.BinnacleAddressRepository = new GenericRepository <BinnacleAddress>(context); }
public AddressRepository(BLINKContext context) { _context = context; }
public GenericRepository(BLINKContext context) { this._context = context; this._dbSet = context.Set <TEntity>(); }
public PersonRepository(BLINKContext context) { this._context = context; }