| DbUpdateE Method (Object, ExpressionFuncE, Boolean) |
Updates subset subEntity of the entity in the database.
Namespace: LiteRepositoryAssembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntaxpublic 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:
Int32Count of a effected enities.
See Also