UpdateEntryExtensions.GetCurrentProviderValue(IUpdateEntry, IProperty) Method

Definition

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