Example #1
0
 public Repository(CnFEntities db)
 {
     this.db    = db;
     this.dbSet = db.Set <TEntity>();
 }
Example #2
0
 public UnitOfWork()
 {
     this._db = new CnFEntities();
 }