Share via


Entity.WrapAsForeignKeyAssociation Method

NOTE: This API is now obsolete.

Reserved for internal use.

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

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
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)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
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