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
- entityInstanceRootTypeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor
- correspondingAdapterObject
Type: System.Object
- targetEntity
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity
- lobSystemInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.LobSystemInstance
Return Value
Type: System.Object
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace