示例#1
0
 internal void AddSort(IRoleType subSortIRoleType, SortDirection subSortDirection)
 {
     if (this.subSorter == null)
     {
         this.subSorter = new ExtentSort(this.session, subSortIRoleType, subSortDirection);
     }
     else
     {
         this.subSorter.AddSort(subSortIRoleType, subSortDirection);
     }
 }
示例#2
0
 internal void AddSort(IRoleType subSortIRoleType, SortDirection subSortDirection)
 {
     if (this.subSorter == null)
     {
         this.subSorter = new ExtentSort(this.session, subSortIRoleType, subSortDirection);
     }
     else
     {
         this.subSorter.AddSort(subSortIRoleType, subSortDirection);
     }
 }
示例#3
0
        public override Allors.Extent AddSort(IRoleType roleType, SortDirection direction)
        {
            this.LazyLoadFilter();
            this.FlushCache();
            if (this.Sorter == null)
            {
                this.Sorter = new ExtentSort(this.Session, roleType, direction);
            }
            else
            {
                this.Sorter.AddSort(roleType, direction);
            }

            return(this);
        }
示例#4
0
        public override Allors.Extent AddSort(IRoleType roleType, SortDirection direction)
        {
            this.LazyLoadFilter();
            this.FlushCache();
            if (this.sorter == null)
            {
                this.sorter = new ExtentSort(this.Session, roleType, direction);
            }
            else
            {
                this.sorter.AddSort(roleType, direction);
            }

            return this;
        }