public GenericRepository(StreetStreamDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
示例#2
0
 public UnitOfWork(StreetStreamDbContext context)
 {
     this.context = context;
 }