PropertyValues.ToObject Method
Definition
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 an instance of the entity type and sets all its properties using the values from this object.
public abstract object ToObject ();
abstract member ToObject : unit -> obj
Public MustOverride Function ToObject () As Object
Returns
The values of this object copied into a new entity instance.
Remarks
See Accessing tracked entities in EF Core for more information and examples.
Applies to
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