Пример #1
0
 public TweeterData(ITweeterDbContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }
Пример #2
0
 public GenericRepository(ITweeterDbContext dbContext)
 {
     this.dbContext = dbContext;
     this.entitySet = dbContext.Set <TEntity>();
 }