Example #1
0
 public IQueryable <T> All()
 {
     return(invoiceDbContext.Set <T>());
 }
Example #2
0
 public BaseRepository()
 {
     invoiceDbContext = new InvoiceDataContext();
     _innerDbSet      = invoiceDbContext.Set <T>();
 }