IAssociatedIdSet.GetSourceIdentity Method
Gets the identity of the source External Item for the specified source external content type.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function GetSourceIdentity ( _
source As IEntity _
) As Identity
'Usage
Dim instance As IAssociatedIdSet
Dim source As IEntity
Dim returnValue As Identity
returnValue = instance.GetSourceIdentity(source)
Identity GetSourceIdentity(
IEntity source
)
Parameters
source
Type: Microsoft.BusinessData.MetadataModel.IEntityThe source external content type.
Return Value
Type: Microsoft.BusinessData.Runtime.Identity
The identity of the source External Item.
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.