コード例 #1
0
 public UnitOfWork(IDatabaseFactory dbFactory)
 {
     this.dbFactory = dbFactory;
     dataContext    = dbFactory.DataContext;
 }
コード例 #2
0
 public DatabaseFactory()
 {
     dataContext = new insurancedbContext();
 }