Edit

Share via


EntitySet<TEntity>.Remove(TEntity) Method

Definition

Removes an entity.

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

Parameters

entity
TEntity

The entity to be removed.

Returns

true if the entity is successfully removed; otherwise, false.

Implements

Applies to