예제 #1
0
 public PersonUnit(BLINKContext context)
 {
     this._context                  = context;
     this.PersonRepository          = new PersonRepository(context);
     this.AddressRepository         = new AddressRepository(context);
     this.BinnacleAddressRepository = new GenericRepository <BinnacleAddress>(context);
 }
예제 #2
0
 public AddressRepository(BLINKContext context)
 {
     _context = context;
 }
예제 #3
0
 public GenericRepository(BLINKContext context)
 {
     this._context = context;
     this._dbSet   = context.Set <TEntity>();
 }
예제 #4
0
 public PersonRepository(BLINKContext context)
 {
     this._context = context;
 }