Прочетете на английски Редактиране

Споделяне чрез


ObjectStateEntry.ApplyCurrentValues(Object) Method

Definition

Sets the current values of the entry to match the property values of a supplied object.

C#
public abstract void ApplyCurrentValues(object currentEntity);

Parameters

currentEntity
Object

The detached object that has updated values to apply to the object. currentEntity can also be the object's entity key.

Applies to

Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1