UpdateEntryExtensions.GetCurrentProviderValue(IUpdateEntry, IProperty) 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 value assigned to the property and converts it to the provider-expected value.
public static object GetCurrentProviderValue (this Microsoft.EntityFrameworkCore.Update.IUpdateEntry updateEntry, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
public static object? GetCurrentProviderValue (this Microsoft.EntityFrameworkCore.Update.IUpdateEntry updateEntry, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetCurrentProviderValue : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty -> obj
<Extension()>
Public Function GetCurrentProviderValue (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