.NET Framework Class Library
EntityRef<(Of <(TEntity>)>) Constructor (EntityRef<(Of <(TEntity>)>))

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

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

Visual Basic (Declaration)
Public Sub New ( _
    entityRef As EntityRef(Of TEntity) _
)
Visual Basic (Usage)
Dim entityRef As EntityRef(Of TEntity)

Dim instance As New EntityRef(entityRef)
C#
public EntityRef(
    EntityRef<TEntity> entityRef
)
Visual C++
public:
EntityRef(
    EntityRef<TEntity> entityRef
)
JScript
public function EntityRef(
    entityRef : EntityRef<TEntity>
)

Parameters

entityRef
Type: System.Data.Linq..::.EntityRef<(Of <(TEntity>)>)
The target entity.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5
See Also

Reference

Tags :


Page view tracker