MongoRepository documentation
MongoRepositoryT, 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
public virtual void Delete( TKey id )
Public Overridable Sub Delete ( id As TKey )
public: virtual void Delete( TKey id )
abstract Delete : id : 'TKey -> unit override Delete : id : 'TKey -> unit
Parameters
- id
- Type: TKey
The entity's id.
Implements
IRepositoryT, TKeyDelete(TKey)See Also