Click or drag to resize
DbUpdateE Method (Object, ExpressionFuncE, Boolean)
Updates subset subEntity of the entity in the database.

Namespace: LiteRepository
Assembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntax
C#
public virtual int Update<E>(
	Object subEntity,
	Expression<Func<E, bool>> where
)
where E : class

Parameters

subEntity
Type: SystemObject
Entity to update in database.
where
Type: System.Linq.ExpressionsExpressionFuncE, Boolean
Where expression.

Type Parameters

E
Type of the entity.

Return Value

Type: Int32
Count of a effected enities.
See Also