EntityCollection<TEntity>.Contains Method (TEntity)
Determines whether a specific object exists in the collection.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- item
-
Type:
TEntity
The object to locate in the EntityCollection<TEntity>.
Return Value
Type: System.Booleantrue if the object is found in the EntityCollection<TEntity> ; otherwise, false.