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); } }
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); }