IRuntimeHelper.ExtractIdentity Method
Extracts identity of an External Item from given fields.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function ExtractIdentity ( _
fields As IFieldValueDictionary _
) As Identity
'Usage
Dim instance As IRuntimeHelper
Dim fields As IFieldValueDictionary
Dim returnValue As Identity
returnValue = instance.ExtractIdentity(fields)
Identity ExtractIdentity(
IFieldValueDictionary fields
)
Parameters
fields
Type: Microsoft.BusinessData.Runtime.IFieldValueDictionaryThe fields that contain the identifier values.
Return Value
Type: Microsoft.BusinessData.Runtime.Identity
The extracted identity.
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.