EntityRef<TEntity> Constructor (TEntity)

 

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

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

public EntityRef(
	TEntity entity
)

Parameters

entity
Type: TEntity

The target entity.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: