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

MongoRepository

MongoRepositoryT, TKeyDelete Method (T)
Deletes the given entity.

Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
public virtual void Delete(
	T entity
)
Public Overridable Sub Delete ( 
	entity As T
)
public:
virtual void Delete(
	T entity
)
abstract Delete : 
        entity : 'T -> unit 
override Delete : 
        entity : 'T -> unit 

Parameters

entity
Type: T
The entity to delete.

Implements

IRepositoryT, TKeyDelete(T)
See Also