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