partial void OnAssetMaintenanceAssetTypeChanging(global::Microsoft.Dynamics.DataEntities.AssetMaintenanceAssetType value);
public static AssetMaintenanceAssetTypeDefault CreateAssetMaintenanceAssetTypeDefault(string dataAreaId, string maintenanceAssetTypeId, string productId, string modelProductId, string modelId, global::Microsoft.Dynamics.DataEntities.AssetMaintenanceAssetType assetMaintenanceAssetType) { AssetMaintenanceAssetTypeDefault assetMaintenanceAssetTypeDefault = new AssetMaintenanceAssetTypeDefault(); assetMaintenanceAssetTypeDefault.dataAreaId = dataAreaId; assetMaintenanceAssetTypeDefault.MaintenanceAssetTypeId = maintenanceAssetTypeId; assetMaintenanceAssetTypeDefault.ProductId = productId; assetMaintenanceAssetTypeDefault.ModelProductId = modelProductId; assetMaintenanceAssetTypeDefault.ModelId = modelId; if ((assetMaintenanceAssetType == null)) { throw new global::System.ArgumentNullException("assetMaintenanceAssetType"); } assetMaintenanceAssetTypeDefault.AssetMaintenanceAssetType = assetMaintenanceAssetType; return(assetMaintenanceAssetTypeDefault); }
public static AssetMaintenanceAssetTypeFaultArea CreateAssetMaintenanceAssetTypeFaultArea(string dataAreaId, string maintenanceAssetTypeId, string faultAreaId, string faultSymptomId, global::Microsoft.Dynamics.DataEntities.AssetMaintenanceFaultArea assetMaintenanceFaultArea, global::Microsoft.Dynamics.DataEntities.AssetMaintenanceAssetType assetMaintenanceAssetType, global::Microsoft.Dynamics.DataEntities.AssetMaintenanceFaultSymptom assetMaintenanceFaultSymptom) { AssetMaintenanceAssetTypeFaultArea assetMaintenanceAssetTypeFaultArea = new AssetMaintenanceAssetTypeFaultArea(); assetMaintenanceAssetTypeFaultArea.dataAreaId = dataAreaId; assetMaintenanceAssetTypeFaultArea.MaintenanceAssetTypeId = maintenanceAssetTypeId; assetMaintenanceAssetTypeFaultArea.FaultAreaId = faultAreaId; assetMaintenanceAssetTypeFaultArea.FaultSymptomId = faultSymptomId; if ((assetMaintenanceFaultArea == null)) { throw new global::System.ArgumentNullException("assetMaintenanceFaultArea"); } assetMaintenanceAssetTypeFaultArea.AssetMaintenanceFaultArea = assetMaintenanceFaultArea; if ((assetMaintenanceAssetType == null)) { throw new global::System.ArgumentNullException("assetMaintenanceAssetType"); } assetMaintenanceAssetTypeFaultArea.AssetMaintenanceAssetType = assetMaintenanceAssetType; if ((assetMaintenanceFaultSymptom == null)) { throw new global::System.ArgumentNullException("assetMaintenanceFaultSymptom"); } assetMaintenanceAssetTypeFaultArea.AssetMaintenanceFaultSymptom = assetMaintenanceFaultSymptom; return(assetMaintenanceAssetTypeFaultArea); }
public static AssetMaintenanceFunctionalLocationAllowedByObjectType CreateAssetMaintenanceFunctionalLocationAllowedByObjectType(string dataAreaId, string functionalLocationTypeId, string maintenanceAssetTypeId, global::Microsoft.Dynamics.DataEntities.AssetMaintenanceAssetType assetMaintenanceAssetType, global::Microsoft.Dynamics.DataEntities.AssetMaintenanceFunctionalLocationType assetMaintenanceFunctionalLocationType) { AssetMaintenanceFunctionalLocationAllowedByObjectType assetMaintenanceFunctionalLocationAllowedByObjectType = new AssetMaintenanceFunctionalLocationAllowedByObjectType(); assetMaintenanceFunctionalLocationAllowedByObjectType.dataAreaId = dataAreaId; assetMaintenanceFunctionalLocationAllowedByObjectType.FunctionalLocationTypeId = functionalLocationTypeId; assetMaintenanceFunctionalLocationAllowedByObjectType.MaintenanceAssetTypeId = maintenanceAssetTypeId; if ((assetMaintenanceAssetType == null)) { throw new global::System.ArgumentNullException("assetMaintenanceAssetType"); } assetMaintenanceFunctionalLocationAllowedByObjectType.AssetMaintenanceAssetType = assetMaintenanceAssetType; if ((assetMaintenanceFunctionalLocationType == null)) { throw new global::System.ArgumentNullException("assetMaintenanceFunctionalLocationType"); } assetMaintenanceFunctionalLocationAllowedByObjectType.AssetMaintenanceFunctionalLocationType = assetMaintenanceFunctionalLocationType; return(assetMaintenanceFunctionalLocationAllowedByObjectType); }
public static AssetMaintenanceAssetTypeCounterAssociation CreateAssetMaintenanceAssetTypeCounterAssociation(string dataAreaId, string maintenanceAssetTypeId, string maintenanceAssetCounterId, global::Microsoft.Dynamics.DataEntities.AssetMaintenanceAssetCounter assetMaintenanceAssetCounter, global::Microsoft.Dynamics.DataEntities.AssetMaintenanceAssetType assetMaintenanceAssetType) { AssetMaintenanceAssetTypeCounterAssociation assetMaintenanceAssetTypeCounterAssociation = new AssetMaintenanceAssetTypeCounterAssociation(); assetMaintenanceAssetTypeCounterAssociation.dataAreaId = dataAreaId; assetMaintenanceAssetTypeCounterAssociation.MaintenanceAssetTypeId = maintenanceAssetTypeId; assetMaintenanceAssetTypeCounterAssociation.MaintenanceAssetCounterId = maintenanceAssetCounterId; if ((assetMaintenanceAssetCounter == null)) { throw new global::System.ArgumentNullException("assetMaintenanceAssetCounter"); } assetMaintenanceAssetTypeCounterAssociation.AssetMaintenanceAssetCounter = assetMaintenanceAssetCounter; if ((assetMaintenanceAssetType == null)) { throw new global::System.ArgumentNullException("assetMaintenanceAssetType"); } assetMaintenanceAssetTypeCounterAssociation.AssetMaintenanceAssetType = assetMaintenanceAssetType; return(assetMaintenanceAssetTypeCounterAssociation); }
public static AssetMaintenanceAssetTypeAttribute CreateAssetMaintenanceAssetTypeAttribute(string dataAreaId, string maintenanceAssetTypeId, string attributeTypeId, global::Microsoft.Dynamics.DataEntities.AssetMaintenanceSpecificationType assetMaintenanceSpecificationType, global::Microsoft.Dynamics.DataEntities.AssetMaintenanceAssetType assetMaintenanceAssetType) { AssetMaintenanceAssetTypeAttribute assetMaintenanceAssetTypeAttribute = new AssetMaintenanceAssetTypeAttribute(); assetMaintenanceAssetTypeAttribute.dataAreaId = dataAreaId; assetMaintenanceAssetTypeAttribute.MaintenanceAssetTypeId = maintenanceAssetTypeId; assetMaintenanceAssetTypeAttribute.AttributeTypeId = attributeTypeId; if ((assetMaintenanceSpecificationType == null)) { throw new global::System.ArgumentNullException("assetMaintenanceSpecificationType"); } assetMaintenanceAssetTypeAttribute.AssetMaintenanceSpecificationType = assetMaintenanceSpecificationType; if ((assetMaintenanceAssetType == null)) { throw new global::System.ArgumentNullException("assetMaintenanceAssetType"); } assetMaintenanceAssetTypeAttribute.AssetMaintenanceAssetType = assetMaintenanceAssetType; return(assetMaintenanceAssetTypeAttribute); }