partial void OnCategoryChanging(global::Microsoft.Dynamics.DataEntities.Category value);
        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);
        }