Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EntityRef<TEntity> Constructor (EntityRef<TEntity>)

Initializes a new instance of the EntityRef<TEntity> class by referencing the target entity.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public EntityRef(
	EntityRef<TEntity> entityRef


Type: System.Data.Linq.EntityRef<TEntity>

The target entity.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft