コード例 #1
0
 public PersonRepository(PgSQLContext context)
 {
     _context = context;
 }
コード例 #2
0
 public GenericRepository(PgSQLContext context)
 {
     _context = context;
     dbSet    = context.Set <T>();
 }