Example #1
0
        /// <summary>
        /// Checks maximum length constraint for list of custom order properties.
        /// </summary>
        /// <returns></returns>
        private bool _CheckMaximumLengthConstraint()
        {
            bool checkMaxLengthConstraint = false;

            // Get order custom properties info.
            OrderCustomPropertiesInfo propertiesInfo = GetOrderCustomPropertiesInfo();

            // Check constraint.
            checkMaxLengthConstraint = ProjectFactory.CheckMaximumLengthConstraint(propertiesInfo);

            return(checkMaxLengthConstraint);
        }