Esempio n. 1
0
        public override IQuery OrderDescending()
        {
            if (string.IsNullOrEmpty(_attributeName))
            {
                throw new ArgumentException("Descend field not set.");
            }

            OrderByFields.Add(_attributeName);
            OrderByType    = OrderByConstants.OrderByDesc;
            _attributeName = null;

            return(this);
        }