src/Shared/EntityFramework/Core/Objects/ObjectQuery`.cs
/// <summary>Limits the query results to a specified number of items.</summary>
/// <returns>
/// A new <see cref="T:System.Data.Entity.Core.Objects.ObjectQuery`1" /> instance that is equivalent to the original instance with TOP applied.
/// </returns>
/// <param name="count">The number of items in the results as a string. </param>
/// <param name="parameters">An optional set of query parameters that should be in scope when parsing.</param>
/// <exception cref="T:System.ArgumentNullException"> count  is null.</exception>
/// <exception cref="T:System.ArgumentException"> count  is an empty string.</exception>
Limits the query results to a specified number of items.
Limits the query results to a specified number of items .
public ObjectQuery<T> Top(string count, params ObjectParameter[] parameters)
        {
            Check.NotEmpty(count, "count");
            return new ObjectQuery<T>(EntitySqlQueryBuilder.Top(QueryState, Name, count, parameters));
        }
public ObjectQuery < T > Top ( string count , params ObjectParameter [ ] parameters ) { Check . NotEmpty ( count , " " ) ; return new ObjectQuery < T > ( EntitySqlQueryBuilder . Top ( QueryState , Name , count , parameters ) ) ; }
Limits the query results to a specified number of items.
Limits the query results to a specified number of items .
A new  instance that is equivalent to the original instance with TOP applied.
A new instance that is equivalent to the original instance with TOP applied .
count  is null.
count is null .
count  is an empty string.
count is an empty string .
count
string
The number of items in the results as a string.
The number of items in the results as a string .
parameters
An optional set of query parameters that should be in scope when parsing.
An optional set of query parameters that should be in scope when parsing .