IUpdateEntry.GetOriginalValue Method

Definition

Overloads

GetOriginalValue(IPropertyBase)

Gets the value assigned to the property when it was retrieved from the database.

GetOriginalValue<TProperty>(IProperty)

Gets the value assigned to the property when it was retrieved from the database.

GetOriginalValue(IPropertyBase)

Gets the value assigned to the property when it was retrieved from the database.

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

Parameters

propertyBase
IPropertyBase

The property to get the value for.

Returns

The value for the property.

Applies to

GetOriginalValue<TProperty>(IProperty)

Gets the value assigned to the property when it was retrieved from the database.

public TProperty GetOriginalValue<TProperty> (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member GetOriginalValue : Microsoft.EntityFrameworkCore.Metadata.IProperty -> 'Property
Public Function GetOriginalValue(Of TProperty) (property As IProperty) As TProperty

Type Parameters

TProperty

The type of the property.

Parameters

property
IProperty

The property to get the value for.

Returns

TProperty

The value for the property.

Applies to