PropertyValues.Clone Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ();
abstract member Clone : unit -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyValues
Public MustOverride Function Clone () As PropertyValues
A clone of this object.
See Accessing tracked entities in EF Core for more information and examples.
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 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: