EntityInstanceReference Constructor

Creates a reference to the given External Item.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public Sub New ( _
    instance As IEntityInstance _
)
'Usage
Dim instance As IEntityInstance

Dim instance As New EntityInstanceReference(instance)
public EntityInstanceReference(
    IEntityInstance instance
)

Parameters

Remarks

Instances of objects in the Business Data Connectivity object model are tied to the Metadata Store they are obtained from. Using instances tied to one Metadata Store with the instances from another Metadata Store will cause data corruption and other unexpected behavior. For more information, see DatabaseBackedMetadataCatalog, FileBackedMetadataCatalog, and RemoteSharedFileBackedMetadataCatalog.

See Also

Reference

EntityInstanceReference Class

EntityInstanceReference Members

Microsoft.BusinessData.Runtime Namespace