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.2.0.0 (5.2.17.0403)
Syntax protected virtual Task<bool> UpdateEntityAsync(
IPredicate updateRestriction,
CancellationToken cancellationToken
)
Protected Overridable Function UpdateEntityAsync (
updateRestriction As IPredicate,
cancellationToken As CancellationToken
) As Task(Of Boolean)
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