public UnitOfWork(IDataBaseFactory dbfac) { this.dbfac = dbfac; context = dbfac.DBcontext; }
public RepositoryBase(eventContext ctx) { this._ctx = ctx; dbset = ctx.Set <T>(); }
public DataBaseFactory() { this.context = new eventContext(); }
public UnitOfWork(IDataBaseFactory dbfac) { this.dbfac = dbfac; context = dbfac.DBcontext; }
public RepositoryBase(eventContext ctx) { this._ctx = ctx; dbset = ctx.Set <T>(); }
public DataBaseFactory() { this.context = new eventContext(); }