Click or drag to resize

EntityBase.UpdateEntityAsync Method (IPredicate, CancellationToken)

Performs the update action of an existing Entity to the persistent storage.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
protected virtual Task<bool> UpdateEntityAsync(
	IPredicate updateRestriction,
	CancellationToken cancellationToken
)

Parameters

updateRestriction
Type: SD.LLBLGen.Pro.ORMSupportClasses.IPredicate
Predicate expression, meant for concurrency checks in an Update query
cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task<Boolean>
true if succeeded, false otherwise
See Also