EntityDomainManager<TData>.GetOriginalValue Method (DbUpdateConcurrencyException)
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.
Namespace: Microsoft.WindowsAzure.Mobile.Service
Assembly: Microsoft.WindowsAzure.Mobile.Service.Entity (in Microsoft.WindowsAzure.Mobile.Service.Entity.dll)
Syntax
protected object GetOriginalValue(
DbUpdateConcurrencyException conflict
)
protected:
Object^ GetOriginalValue(
DbUpdateConcurrencyException^ conflict
)
member GetOriginalValue :
conflict:DbUpdateConcurrencyException -> Object
Protected Function GetOriginalValue (
conflict As DbUpdateConcurrencyException
) As Object
Parameters
conflict
Type: System.Data.Entity.Infrastructure.DbUpdateConcurrencyExceptionThe DbUpdateConcurrencyException thrown by the update or replace operation.
Return Value
Type: System.Object
The original value or null if none are available.
See Also
EntityDomainManager<TData> Class
Microsoft.WindowsAzure.Mobile.Service Namespace
Return to top