UpdateEntryExtensions.GetCurrentProviderValue(IUpdateEntry, IProperty) 方法

定义

获取分配给 属性的值,并将其转换为提供程序预期的值。

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

参数

updateEntry
IUpdateEntry

项。

property
IProperty

要获取其值的属性。

返回

属性的值。

适用于