internal static string ParseOrderBy(this ODataQueryOptions options) { if (options.OrderBy == null) { return(string.Empty); } return(SQLOrderByBinder.BindOrderByQueryOption(options.OrderBy.OrderByClause)); }
internal static string ParseOrderBy(this ExpandedNavigationSelectItem expanded) { if (expanded.CountOption.HasValue) { return(string.Empty); } if (expanded.OrderByOption == null) { return(string.Empty); } return(SQLOrderByBinder.BindOrderByQueryOption(expanded.OrderByOption)); }