Example #1
0
 public DatabaseFactory(DbContext dbc)
 {
     dataContext = (ContextNeoXam)dbc;
 }
Example #2
0
 public UnitOfWork(IDatabaseFactory dbFactory)
 {
     this.dbFactory = dbFactory;
     dataContext    = dbFactory.DataContext;
 }
Example #3
0
 public DatabaseFactory()
 {
     dataContext = new ContextNeoXam();
 }