EntitySet<TEntity>.Contains(TEntity) EntitySet<TEntity>.Contains(TEntity) EntitySet<TEntity>.Contains(TEntity) EntitySet<TEntity>.Contains(TEntity) Method

Definição

Determinará se o EntitySet<TEntity> contém a entidade específica.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

Parâmetros

entity
TEntity TEntity TEntity TEntity

A entidade.The entity.

Retornos

true se o EntitySet<TEntity> contém a entidade; caso contrário, false.true if the EntitySet<TEntity> contains the entity; otherwise, false.

Implementações

Aplica-se a