IEntity.GetAssociationView Method
Gets the View of the association.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function GetAssociationView ( _
association As IAssociation _
) As IView
'Usage
Dim instance As IEntity
Dim association As IAssociation
Dim returnValue As IView
returnValue = instance.GetAssociationView(association)
IView GetAssociationView(
IAssociation association
)
Parameters
association
Type: Microsoft.BusinessData.MetadataModel.IAssociationThe association to get the View for.
Return Value
Type: Microsoft.BusinessData.MetadataModel.IView
The View of the association.
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.