EntityInstanceReference Constructor

Creates a reference to the given External Item.

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


Public Sub New ( _
    instance As IEntityInstance _
Dim instance As IEntityInstance

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



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


EntityInstanceReference Class

EntityInstanceReference Members

Microsoft.BusinessData.Runtime Namespace