Ejemplo n.º 1
0
 public Repository(FloodManagementSystemContext context)
 {
     this.context = context;
     entities = context.Set<T>();
 }
Ejemplo n.º 2
0
 public void InitContext(FloodManagementSystemContext context)
 {
     this.context = context;
     this.entities = context.Set<T>();
 }