ObjectQuery<T>.Except Method (ObjectQuery<T>)
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.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- query
-
Type:
System.Data.Entity.Core.Objects.ObjectQuery<T>
A query representing the results to exclude.
Exception | Condition |
---|---|
ArgumentNullException | If the query parameter is null. |