Example #1
0
 protected DefaultRepository(PermaCultureContext context) : base(context)
 {
     _entities = context.Set <Entity>();
 }
Example #2
0
 protected Repository(PermaCultureContext context)
 {
     _context = context;
     _dbSet   = context.Set <T>();
 }