예제 #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
파일: SqlExtent.cs 프로젝트: whesius/allors
        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;
        }