Editare

Partajați prin


EntitySet<TEntity>.Contains(TEntity) Method

Definition

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

public:
 virtual bool Contains(TEntity entity);
public bool Contains (TEntity entity);
abstract member Contains : 'Entity -> bool
override this.Contains : 'Entity -> bool
Public Function Contains (entity As TEntity) As Boolean

Parameters

entity
TEntity

The entity.

Returns

true if the EntitySet<TEntity> contains the entity; otherwise, false.

Implements

Applies to