public Repository(SmartPan_TaskContext context)
 {
     this.context = context;
     entities     = context.Set <T>();
 }
Example #2
0
 public GenericRepository(SmartPan_TaskContext context)
 {
     this.context = context;
     db           = context.Set <T>();
 }