예제 #1
0
 public Repository(FloodManagementSystemContext context)
 {
     this.context = context;
     entities = context.Set<T>();
 }
예제 #2
0
 public void InitContext(FloodManagementSystemContext context)
 {
     this.context = context;
     this.entities = context.Set<T>();
 }