EntityDomainManager<TData>.GetOriginalValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the original value of an entity in case an update or replace operation resulted in an DbUpdateConcurrencyException. The original value extracted from the exception will get returned to the client so that it can merge the data and possibly try the operation again.
protected object GetOriginalValue (System.Data.Entity.Infrastructure.DbUpdateConcurrencyException conflict);
member this.GetOriginalValue : System.Data.Entity.Infrastructure.DbUpdateConcurrencyException -> obj
Protected Function GetOriginalValue (conflict As DbUpdateConcurrencyException) As Object
Parameters
- conflict
- DbUpdateConcurrencyException
The DbUpdateConcurrencyException thrown by the update or replace operation.
Returns
The original value or null
if none are available.
Applies to
Azure SDK for .NET