MongoRepository(T, TKey).Delete Method (Expression(Func(T, Boolean)))

MongoRepository

MongoRepositoryT, 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
public virtual void Delete(
	Expression<Func<T, bool>> predicate
)
Public Overridable Sub Delete ( 
	predicate As Expression(Of Func(Of T, Boolean))
)
public:
virtual void Delete(
	Expression<Func<T, bool>^>^ predicate
)
abstract Delete : 
        predicate : Expression<Func<'T, bool>> -> unit 
override Delete : 
        predicate : Expression<Func<'T, bool>> -> unit 

Parameters

predicate
Type: System.Linq.ExpressionsExpressionFuncT, Boolean
The expression.

Implements

IRepositoryT, TKeyDelete(ExpressionFuncT, Boolean)
See Also