Export (0) Print
Expand All

EntitySet<TEntity>.Contains Method

Specifies whether the EntitySet<TEntity> contains a specific entity.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public bool Contains(
	TEntity entity
)

Parameters

entity
Type: TEntity
The entity.

Return Value

Type: System.Boolean
true if the EntitySet<TEntity> contains the entity; otherwise, false.

Implements

ICollection<T>.Contains(T)

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft