public Repository(EmpresasContext context)
 {
     Context     = context;
     EntitiesSet = Context.Set <T>();
 }
Beispiel #2
0
 public BaseRepository(EmpresasContext context)
 {
     this.context = context;
     dbSet        = context.Set <TEntity>();
 }