コード例 #1
0
 public GenericRawSql(CommonContext context)
 {
     _context = context;
     _dbSet   = context.Set <TEntity>();
 }
コード例 #2
0
 public RepositoryBase(CommonContext context)
 {
     this.context = context;
     dbSet        = context.Set <T>();
 }