EntityInstanceReference.Deserialize Method

Creates an EntityInstanceReference corresponding to the given string representation using metadata from the given Metadata Store.

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


Public Shared Function Deserialize ( _
    serializedReference As String, _
    catalog As IMetadataCatalog _
) As EntityInstanceReference
Dim serializedReference As String
Dim catalog As IMetadataCatalog
Dim returnValue As EntityInstanceReference

returnValue = EntityInstanceReference.Deserialize(serializedReference, _
public static EntityInstanceReference Deserialize(
    string serializedReference,
    IMetadataCatalog catalog


  • serializedReference
    Type: System.String

    The string representation of an External Item reference.

Return Value

Type: Microsoft.BusinessData.Runtime.EntityInstanceReference
The created External Item reference.


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