/// <summary> /// 获取排序 /// </summary> /// <param name="lstScort"></param> /// <param name="table"></param> /// <param name="entityType"></param> /// <returns></returns> protected BQLParamHandle[] GetSort(SortList lstScort, BQLTableHandle table, Type entityType) { EntityInfoHandle entityInfo = null; if (entityType != null) { entityInfo = EntityInfoManager.GetEntityHandle(entityType); } return(BQLConditionScope.GetSort(lstScort, table, entityInfo)); }
/// <summary> /// 转换排序信息 /// </summary> /// <param name="lstScort"></param> /// <param name="table"></param> /// <returns></returns> protected BQLParamHandle[] GetSort(SortList lstScort, BQLEntityTableHandle table) { return(BQLConditionScope.GetSort(lstScort, table, table.GetEntityInfo())); }