public DatabaseFactory()
 {
     dataContext = new ParcelleCtx();
 }
示例#2
0
 public UnitOfWork(IDatabaseFactory dbFactory)
 {
     this.dbFactory = dbFactory;
     dataContext    = dbFactory.DataContext;
 }