Ejemplo n.º 1
0
 public UserController()
 {
     this.db = new Entities();
     db.Configuration.ProxyCreationEnabled = false;
     this.ctx = ExecutionContext.Create();
     this.threadBusiness = new Business.Thread(db, ctx);
 }
Ejemplo n.º 2
0
 public UserController()
 {
     this.db = new Entities();
     db.Configuration.ProxyCreationEnabled = false;
     this.ctx            = ExecutionContext.Create();
     this.threadBusiness = new Business.Thread(db, ctx);
 }