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
instance
Type: Microsoft.BusinessData.Runtime.IEntityInstanceThe External Item to create a reference to.
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.