EntityRef(TEntity) Constructor (EntityRef(TEntity))
Collapse the table of content
Expand the table of content

EntityRef(Of TEntity) Constructor (EntityRef(Of TEntity))

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

'Declaration
Public Sub New ( _
	entityRef As EntityRef(Of TEntity) _
)

Parameters

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft