EntitySet<TEntity>.Contains(TEntity) Metodo

Definizione

Specifica se EntitySet<TEntity> contiene un'entità specifica.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

Parametri

entity
TEntity

Entità.The entity.

Restituisce

true se EntitySet<TEntity> contiene l'entità; in caso contrario, false.true if the EntitySet<TEntity> contains the entity; otherwise, false.

Implementazioni

Si applica a