UpdateEntryExtensions.GetOriginalProviderValue 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework