Compartir a través de


IUpdateEntry.SetOriginalValue(IProperty, Object) Method

Definition

Sets the original value of the given property.

public void SetOriginalValue (Microsoft.EntityFrameworkCore.Metadata.IProperty property, object value);
public void SetOriginalValue (Microsoft.EntityFrameworkCore.Metadata.IProperty property, object? value);
abstract member SetOriginalValue : Microsoft.EntityFrameworkCore.Metadata.IProperty * obj -> unit
Public Sub SetOriginalValue (property As IProperty, value As Object)

Parameters

property
IProperty

The property to set.

value
Object

The value to set.

Applies to