src/Shared/EntityFramework/Core/Objects/ObjectQuery`.cs
/// <summary>Orders the query results by the specified criteria.</summary>
/// <returns>
/// A new <see cref="T:System.Data.Entity.Core.Objects.ObjectQuery`1" /> instance that is equivalent to the original instance with ORDER BY applied.
/// </returns>
/// <param name="keys">The key columns by which to order the results.</param>
/// <param name="parameters">Zero or more parameters that are used in this method.</param>
/// <exception cref="T:System.ArgumentNullException">The  keys  or  parameters  parameter is null.</exception>
/// <exception cref="T:System.ArgumentException">The  key  is an empty string.</exception>
Orders the query results by the specified criteria.
Orders the query results by the specified criteria .
public ObjectQuery<T> OrderBy(string keys, params ObjectParameter[] parameters)
        {
            Check.NotEmpty(keys, "keys");
            Check.NotNull(parameters, "parameters");
            return new ObjectQuery<T>(EntitySqlQueryBuilder.OrderBy(QueryState, Name, keys, parameters));
        }
public ObjectQuery < T > OrderBy ( string keys , params ObjectParameter [ ] parameters ) { Check . NotEmpty ( keys , " " ) ; Check . NotNull ( parameters , " " ) ; return new ObjectQuery < T > ( EntitySqlQueryBuilder . OrderBy ( QueryState , Name , keys , parameters ) ) ; }
Orders the query results by the specified criteria.
Orders the query results by the specified criteria .
A new  instance that is equivalent to the original instance with ORDER BY applied.
A new instance that is equivalent to the original instance with ORDER BY applied .
The  keys  or  parameters  parameter is null.
The keys or parameters parameter is null .
The  key  is an empty string.
The key is an empty string .
keys
string
The key columns by which to order the results.
The key columns by which to order the results .
parameters
Zero or more parameters that are used in this method.
Zero or more parameters that are used in this method .