Пример #1
0
 public UnitOfWork(NaggleEntities context)
 {
     this._context = context;
 }
Пример #2
0
 public BaseRepository(NaggleEntities context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }