Share via


IAssociationGroup.GetBulkAssociatedIdEnumerator Method

Returns the BulkAssociatedIdEnumerator of this association group that corresponds to the specified source external content type.

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

Syntax

'Declaration
Function GetBulkAssociatedIdEnumerator ( _
    source As IEntity _
) As IAssociation
'Usage
Dim instance As IAssociationGroup
Dim source As IEntity
Dim returnValue As IAssociation

returnValue = instance.GetBulkAssociatedIdEnumerator(source)
IAssociation GetBulkAssociatedIdEnumerator(
    IEntity source
)

Parameters

Return Value

Type: Microsoft.BusinessData.MetadataModel.IAssociation
The BulkAssociatedIdEnumerator of this association group that corresponds to the specified source external content type.

Exceptions

Exception Condition
MetadataObjectNotFoundException

The association group doesn't contain a BulkAssociatedIdEnumerator for the specified source external content type.

ArgumentException

The specified external content type is not a source of this association group.

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.

See Also

Reference

IAssociationGroup Interface

IAssociationGroup Members

Microsoft.BusinessData.MetadataModel Namespace