| DbDeleteE Method (ExpressionFuncE, Boolean, Object) |
Deletes entities which meet where conditions from the database.
Namespace: LiteRepositoryAssembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntaxpublic virtual int Delete<E>(
Expression<Func<E, bool>> where,
Object param = null
)
where E : class
Parameters
- where
- Type: System.Linq.ExpressionsExpressionFuncE, Boolean
Where expression. - param (Optional)
- Type: SystemObject
Query parameters.
Type Parameters
- E
- Type of the entity.
Return Value
Type:
Int32Count of a effected enities.
See Also