PropertyValues.Clone Method

Definition

Creates a clone of the values in this object. Changes made to the new object will not be reflected in this object and vice versa.

C#
public abstract Microsoft.EntityFrameworkCore.ChangeTracking.PropertyValues Clone ();

Returns

A clone of this object.

Remarks

See Accessing tracked entities in EF Core for more information and examples.

Applies to

Product Versions
Entity Framework Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0