protected AddressController() { tdmEntities = new TDManagementEntities(); tdaEntities = new TDASSETEntities(); cmEntities = new commonEntities(); tdmEntities.Configuration.ProxyCreationEnabled = false; tdaEntities.Configuration.ProxyCreationEnabled = false; cmEntities.Configuration.ProxyCreationEnabled = false; }
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; }