共用方式為


IUpdateEntry.GetCurrentValue 方法

定義

多載

GetCurrentValue(IPropertyBase)

取得指派給 屬性的值。

GetCurrentValue<TProperty>(IPropertyBase)

取得指派給 屬性的值。

GetCurrentValue(IPropertyBase)

取得指派給 屬性的值。

public object GetCurrentValue (Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
public object? GetCurrentValue (Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
abstract member GetCurrentValue : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> obj
Public Function GetCurrentValue (propertyBase As IPropertyBase) As Object

參數

propertyBase
IPropertyBase

要取得值的屬性。

傳回

屬性的值。

適用於

GetCurrentValue<TProperty>(IPropertyBase)

取得指派給 屬性的值。

public TProperty GetCurrentValue<TProperty> (Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
abstract member GetCurrentValue : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> 'Property
Public Function GetCurrentValue(Of TProperty) (propertyBase As IPropertyBase) As TProperty

類型參數

TProperty

屬性的類型。

參數

propertyBase
IPropertyBase

要取得值的屬性。

傳回

TProperty

屬性的值。

適用於