Beispiel #1
0
 public virtual IQueryable <T> GetAll()
 {
     return(shipmentContext.Set <T>().AsNoTracking());
 }
Beispiel #2
0
 public BaseRepository(ShipmentContext _shipmentContext)
 {
     shipmentContext = _shipmentContext;
     this.dbSet      = shipmentContext.Set <T>();
 }