MongoRepository documentation
IRepositoryT, TKeyDelete Method (ExpressionFuncT, Boolean) |
Deletes the entities matching the predicate.
Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
void Delete( Expression<Func<T, bool>> predicate )
Sub Delete ( predicate As Expression(Of Func(Of T, Boolean)) )
void Delete( Expression<Func<T, bool>^>^ predicate )
abstract Delete : predicate : Expression<Func<'T, bool>> -> unit
Parameters
- predicate
- Type: System.Linq.ExpressionsExpressionFuncT, Boolean
The expression.
See Also