Active Query Builder 2 .NET Edition reference
FindForeignKey Method



Returns the first found metadata item of the Foreign Key type with the given fields, parent object and parent object fields.
Syntax
'Declaration
 
Public Function FindForeignKey( _
   ByVal childFields As MetadataNameList, _
   ByVal parentObjectName As MetadataQualifiedName, _
   ByVal parentFields As MetadataNameList _
) As MetadataForeignKey
'Usage
 
Dim instance As MetadataList
Dim childFields As MetadataNameList
Dim parentObjectName As MetadataQualifiedName
Dim parentFields As MetadataNameList
Dim value As MetadataForeignKey
 
value = instance.FindForeignKey(childFields, parentObjectName, parentFields)
public MetadataForeignKey FindForeignKey( 
   MetadataNameList childFields,
   MetadataQualifiedName parentObjectName,
   MetadataNameList parentFields
)
public: MetadataForeignKey* FindForeignKey( 
   MetadataNameList* childFields,
   MetadataQualifiedName* parentObjectName,
   MetadataNameList* parentFields
) 

Parameters

childFields
parentObjectName
parentFields
See Also

Reference

MetadataList Class
MetadataList Members

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback