Esempio n. 1
0
 public void AddSort(IRoleType subSortRoleType, SortDirection subSortDirection)
 {
     if (this.subSorter == null)
     {
         this.subSorter = new ExtentSort(this.session, subSortRoleType, subSortDirection);
     }
     else
     {
         this.subSorter.AddSort(subSortRoleType, subSortDirection);
     }
 }
Esempio n. 2
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);
        }