Remove Method

EntitySet<TEntity>.Remove Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Removes an entity.

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

public bool Remove(
	TEntity entity
)

Parameters

entity
Type: TEntity
The entity to be removed.

Return Value

Type: System.Boolean
true if the entity is successfully removed; otherwise, false.

Implements

ICollection<T>.Remove(T)

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft