/// <summary>
        /// Copy data from instance.
        /// </summary>
        /// <param name="copyFrom">The copy from instance.</param>
        public void CopyFrom([NotNull] ItemsRetrievingOptions copyFrom)
        {
            Assert.ArgumentNotNull(copyFrom, "copyFrom");

            this.ViewName    = copyFrom.ViewName;
            this.SortingInfo = copyFrom.SortingInfo;
            this.WherePart   = copyFrom.WherePart;
            this.PagingQuery = copyFrom.PagingQuery;
            this.ItemLimit   = copyFrom.ItemLimit;
        }
        public ItemsRetrievingOptions Clone()
        {
            var clone = new ItemsRetrievingOptions();

            clone.ViewName    = this.ViewName;
            clone.Folder      = this.Folder;
            clone.SortingInfo = this.SortingInfo;
            clone.WherePart   = this.WherePart;
            clone.PagingQuery = this.PagingQuery;
            clone.ItemLimit   = this.ItemLimit;

            return(clone);
        }