Returns if table @parentTableName's primary key's name == @childTableName's parent key's name

Namespace: Caisis.BOL
Assembly: Caisis.BOL (in Caisis.BOL.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static bool IsPrimaryKeyForeignKey(
	string parentTableName,
	string childTableName
)
Visual Basic
Public Shared Function IsPrimaryKeyForeignKey ( 
	parentTableName As String,
	childTableName As String
) As Boolean
Visual C++
public:
static bool IsPrimaryKeyForeignKey(
	String^ parentTableName, 
	String^ childTableName
)

Parameters

parentTableName
Type: System..::..String
The name of the parent table
childTableName
Type: System..::..String
The name of the child table

Return Value

Type: Boolean
If the parent table's pri key == child table's parent key

See Also