src/Shared/EntityFramework/Core/Objects/ObjectQuery`.cs
/// <summary>
/// This query-builder method creates a new query whose results are all of
/// the results of this query, except those that are also part of the other
/// query specified.
/// </summary>
/// <param name="query"> A query representing the results to exclude. </param>
/// <returns> a new ObjectQuery instance. </returns>
/// <exception cref="ArgumentNullException">If the query parameter is null.</exception>
This query-builder method creates a new query whose results are all of
the results of this query, except those that are also part of the other
query specified.
This query - builder method creates a new query whose results are all of the results of this query except those that are also part of the other query specified .
public ObjectQuery<T> Except(ObjectQuery<T> query)
        {
            Check.NotNull(query, "query");
            if (IsLinqQuery(this)
                || IsLinqQuery(query))
            {
                return (ObjectQuery<T>)Queryable.Except(this, query);
            }
            return new ObjectQuery<T>(EntitySqlQueryBuilder.Except(QueryState, query.QueryState));
        }
public ObjectQuery < T > Except ( ObjectQuery < T > query ) { Check . NotNull ( query , " " ) ; if ( IsLinqQuery ( this ) || IsLinqQuery ( query ) ) { return ( ObjectQuery < T > ) Queryable . Except ( this , query ) ; } return new ObjectQuery < T > ( EntitySqlQueryBuilder . Except ( QueryState , query . QueryState ) ) ; }
This query-builder method creates a new query whose results are all of
the results of this query, except those that are also part of the other
query specified.
This query - builder method creates a new query whose results are all of the results of this query except those that are also part of the other query specified .
a new ObjectQuery instance.
a new ObjectQuery instance .
If the query parameter is null.
If the query parameter is null .
query
ObjectQuery<T>
A query representing the results to exclude.
A query representing the results to exclude .