Esempio n. 1
0
 internal static string ParseOrderBy(this ODataQueryOptions options)
 {
     if (options.OrderBy == null)
     {
         return(string.Empty);
     }
     return(SQLOrderByBinder.BindOrderByQueryOption(options.OrderBy.OrderByClause));
 }
Esempio n. 2
0
 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));
 }