示例#1
0
 public Repository(iyogakoodbEntities context)
 {
     this.Context = context;
     dbSet        = Context.Set <T>();
 }
示例#2
0
 public Repository()
 {
     this.Context = new iyogakoodbEntities();
     dbSet        = Context.Set <T>();
 }