コード例 #1
0
ファイル: UserController.cs プロジェクト: matarillo/Oryzae
 public UserController()
 {
     this.db = new Entities();
     db.Configuration.ProxyCreationEnabled = false;
     this.ctx = ExecutionContext.Create();
     this.threadBusiness = new Business.Thread(db, ctx);
 }
コード例 #2
0
 public UserController()
 {
     this.db = new Entities();
     db.Configuration.ProxyCreationEnabled = false;
     this.ctx            = ExecutionContext.Create();
     this.threadBusiness = new Business.Thread(db, ctx);
 }