コード例 #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>();
 }