partial void OnProductLifecycleStateChanging(global::Microsoft.Dynamics.DataEntities.ProductLifecycleState value);
public static ProductLifecycleStateProcess CreateProductLifecycleStateProcess(string productLifecycleStateId, string processName, global::Microsoft.Dynamics.DataEntities.ProductLifecycleState productLifecycleState) { ProductLifecycleStateProcess productLifecycleStateProcess = new ProductLifecycleStateProcess(); productLifecycleStateProcess.ProductLifecycleStateId = productLifecycleStateId; productLifecycleStateProcess.ProcessName = processName; if ((productLifecycleState == null)) { throw new global::System.ArgumentNullException("productLifecycleState"); } productLifecycleStateProcess.ProductLifecycleState = productLifecycleState; return(productLifecycleStateProcess); }
public static EngineeringProductCategoryDetails CreateEngineeringProductCategoryDetails(string engineeringProductCategoryName, global::Microsoft.Dynamics.DataEntities.EngineeringOrganization engineeringOrganization, global::Microsoft.Dynamics.DataEntities.ProductLifecycleState createdProductLifecycleState, global::Microsoft.Dynamics.DataEntities.EngineeringProductVersionNumberingRule versionNumberingRule, global::Microsoft.Dynamics.DataEntities.Category category) { EngineeringProductCategoryDetails engineeringProductCategoryDetails = new EngineeringProductCategoryDetails(); engineeringProductCategoryDetails.EngineeringProductCategoryName = engineeringProductCategoryName; if ((engineeringOrganization == null)) { throw new global::System.ArgumentNullException("engineeringOrganization"); } engineeringProductCategoryDetails.EngineeringOrganization = engineeringOrganization; if ((createdProductLifecycleState == null)) { throw new global::System.ArgumentNullException("createdProductLifecycleState"); } engineeringProductCategoryDetails.CreatedProductLifecycleState = createdProductLifecycleState; if ((versionNumberingRule == null)) { throw new global::System.ArgumentNullException("versionNumberingRule"); } engineeringProductCategoryDetails.VersionNumberingRule = versionNumberingRule; if ((category == null)) { throw new global::System.ArgumentNullException("category"); } engineeringProductCategoryDetails.Category = category; return(engineeringProductCategoryDetails); }