Click or drag to resize

EntityBaseUpdateEntityAsync 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.ORMSupportClassesIPredicate
Predicate expression, meant for concurrency checks in an Update query
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: TaskBoolean
true if succeeded, false otherwise
See Also