Add a relationship in the current database.

Syntax

ISDatabaseProviderBuilderUtilitiesBase.AddRelationship(foreignTableName, foreignFieldName, tableName, fieldName, updateCascade, deleteCascade, [relationshipName])

Parameters

NameTypeOptionalByRefDescription
foreignTableName String The name of the foreign table.
foreignFieldName String The name of the column in the foreign table.
tableName String The name of the primary table.
fieldName String The name of the column in the primary table.
updateCascade Boolean Indicates whether the relationship should cascade update records.
deleteCascade Boolean Indicates whether the relationship should cascade delete records.
relationshipName String Optional The name of the relationship to add.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISDatabaseProviderBuilderUtilitiesBase
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0