예제 #1
0
 partial void OnRetailLoyaltyChanging(global::Microsoft.Dynamics.DataEntities.RetailLoyalty value);
예제 #2
0
        public static RetailLoyaltyPriceGroup CreateRetailLoyaltyPriceGroup(string dataAreaId, string loyaltyName, string priceCustomerGroupCode, global::Microsoft.Dynamics.DataEntities.PriceCustomerGroup priceCustomerGroup, global::Microsoft.Dynamics.DataEntities.RetailLoyalty retailLoyalty)
        {
            RetailLoyaltyPriceGroup retailLoyaltyPriceGroup = new RetailLoyaltyPriceGroup();

            retailLoyaltyPriceGroup.dataAreaId             = dataAreaId;
            retailLoyaltyPriceGroup.LoyaltyName            = loyaltyName;
            retailLoyaltyPriceGroup.PriceCustomerGroupCode = priceCustomerGroupCode;
            if ((priceCustomerGroup == null))
            {
                throw new global::System.ArgumentNullException("priceCustomerGroup");
            }
            retailLoyaltyPriceGroup.PriceCustomerGroup = priceCustomerGroup;
            if ((retailLoyalty == null))
            {
                throw new global::System.ArgumentNullException("retailLoyalty");
            }
            retailLoyaltyPriceGroup.RetailLoyalty = retailLoyalty;
            return(retailLoyaltyPriceGroup);
        }