Beispiel #1
0
 protected GenericRepository(SalesUpEntities dataContext)
 {
     this.dataContext = dataContext;
     this.dbSet       = dataContext.Set <T>();
 }
Beispiel #2
0
 public GenericRepository()
 {
     this.dataContext = new SalesUpEntities();
     this.dbSet       = dataContext.Set <T>();
 }