UpdateEntryExtensions.GetOriginalProviderValue Method

Definition

Gets the original value that was assigned to the property and converts it to the provider-expected value.

public static object? GetOriginalProviderValue (this Microsoft.EntityFrameworkCore.Update.IUpdateEntry updateEntry, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetOriginalProviderValue : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty -> obj
<Extension()>
Public Function GetOriginalProviderValue (updateEntry As IUpdateEntry, property As IProperty) As Object

Parameters

updateEntry
IUpdateEntry

The entry.

property
IProperty

The property to get the value for.

Returns

The value for the property.

Applies to