public CustomSupplierFieldRepository(EveryPayContext context)
 {
     this.context      = context;
     this.dbSet        = context.Set <SupplierField>();
     GenericRepository = new GenericRepository <SupplierField>(context);
 }
예제 #2
0
 public GenericRepository(EveryPayContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }