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