Click or drag to resize
DbDeleteE Method (ExpressionFuncE, Boolean, Object)
Deletes entities which meet where conditions from the database.

Namespace: LiteRepository
Assembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntax
C#
public 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: Int32
Count of a effected enities.
See Also