Share via


Entity.WrapAsForeignKeyAssociation Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Overridable Function WrapAsForeignKeyAssociation ( _
    parameter As Parameter, _
    entityInstanceRootTypeDescriptor As TypeDescriptor, _
    correspondingAdapterObject As Object, _
    targetEntity As Entity, _
    lobSystemInstance As LobSystemInstance _
) As Object
'Usage
Dim parameter As Parameter
Dim entityInstanceRootTypeDescriptor As TypeDescriptor
Dim correspondingAdapterObject As Object
Dim targetEntity As Entity
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As Object

returnValue = Me.WrapAsForeignKeyAssociation(parameter, _
    entityInstanceRootTypeDescriptor, _
    correspondingAdapterObject, targetEntity, _
    lobSystemInstance)
protected virtual Object WrapAsForeignKeyAssociation(
    Parameter parameter,
    TypeDescriptor entityInstanceRootTypeDescriptor,
    Object correspondingAdapterObject,
    Entity targetEntity,
    LobSystemInstance lobSystemInstance
)

Parameters

Return Value

Type: System.Object

See Also

Reference

Entity Class

Entity Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace