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