Click or drag to resize
DbDeleteE, K Method (K)
Deletes entity with key from the database.

Namespace: LiteRepository
Assembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntax
C#
public virtual int Delete<E, K>(
	K key
)
where E : class, K
where K : class

Parameters

key
Type: K
Key of the entity.

Type Parameters

E
Type of the entity.
K
Type of the key.

Return Value

Type: Int32
Count of a effected enities.
See Also