EntitySet<TEntity>.Contains Method (TEntity)
.NET Framework (current version)
Specifies whether the EntitySet<TEntity> contains a specific entity.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Parameters
- entity
-
Type:
TEntity
The entity.
Return Value
Type: System.Booleantrue if the EntitySet<TEntity> contains the entity; otherwise, false.
Implements
ICollection<T>.Contains(T)
.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Show: