コード例 #1
0
 partial void OnCustomerPaymentMethodChanging(global::Microsoft.Dynamics.DataEntities.CustomerPaymentMethod value);
コード例 #2
0
        public static CustomerPaymentMethodSpecification CreateCustomerPaymentMethodSpecification(string dataAreaId, string paymentMethodName, string name, global::Microsoft.Dynamics.DataEntities.CustomerPaymentMethod customerPaymentMethod)
        {
            CustomerPaymentMethodSpecification customerPaymentMethodSpecification = new CustomerPaymentMethodSpecification();

            customerPaymentMethodSpecification.dataAreaId        = dataAreaId;
            customerPaymentMethodSpecification.PaymentMethodName = paymentMethodName;
            customerPaymentMethodSpecification.Name = name;
            if ((customerPaymentMethod == null))
            {
                throw new global::System.ArgumentNullException("customerPaymentMethod");
            }
            customerPaymentMethodSpecification.CustomerPaymentMethod = customerPaymentMethod;
            return(customerPaymentMethodSpecification);
        }