Пример #1
0
 public Repository(SmartPan_TaskContext context)
 {
     this.context = context;
     entities     = context.Set <T>();
 }
Пример #2
0
 public GenericRepository(SmartPan_TaskContext context)
 {
     this.context = context;
     db           = context.Set <T>();
 }