Exemplo n.º 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);
     }
 }
Exemplo 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);
        }