IRepository(T, TKey).Delete Method (TKey)

MongoRepository

IRepositoryT, TKeyDelete Method (TKey)
Deletes an entity from the repository by its id.

Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
void Delete(
	TKey id
)
Sub Delete ( 
	id As TKey
)
void Delete(
	TKey id
)
abstract Delete : 
        id : 'TKey -> unit 

Parameters

id
Type: TKey
The entity's id.
See Also