Esempio n. 1
0
 protected AddressController()
 {
     tdmEntities = new TDManagementEntities();
     tdaEntities = new TDASSETEntities();
     cmEntities  = new commonEntities();
     tdmEntities.Configuration.ProxyCreationEnabled = false;
     tdaEntities.Configuration.ProxyCreationEnabled = false;
     cmEntities.Configuration.ProxyCreationEnabled  = false;
 }
Esempio n. 2
0
 protected MapController()
 {
     tdmEntities = new TDManagementEntities();
     tdaEntities = new TDASSETEntities();
     cmEntities  = new commonEntities();
     repos       = new TDAssetRespository();
     tdmEntities.Configuration.ProxyCreationEnabled = false;
     tdaEntities.Configuration.ProxyCreationEnabled = false;
     cmEntities.Configuration.ProxyCreationEnabled  = false;
 }