public static ProductReleasePolicyLegalEntityRule CreateProductReleasePolicyLegalEntityRule(string legalEntityId, string productReleasePolicyName, global::Microsoft.Dynamics.DataEntities.ProductReleasePolicy productReleasePolicy) { ProductReleasePolicyLegalEntityRule productReleasePolicyLegalEntityRule = new ProductReleasePolicyLegalEntityRule(); productReleasePolicyLegalEntityRule.LegalEntityId = legalEntityId; productReleasePolicyLegalEntityRule.ProductReleasePolicyName = productReleasePolicyName; if ((productReleasePolicy == null)) { throw new global::System.ArgumentNullException("productReleasePolicy"); } productReleasePolicyLegalEntityRule.ProductReleasePolicy = productReleasePolicy; return(productReleasePolicyLegalEntityRule); }
partial void OnProductReleasePolicyChanging(global::Microsoft.Dynamics.DataEntities.ProductReleasePolicy value);