Click or drag to resize
DBCatalogObtainAndInsertFkConstraintObjectsFromMetaData Method
Obtains the fk constraint objects from meta data and adds them to the tables in the schemas in this catalog.

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public void ObtainAndInsertFkConstraintObjectsFromMetaData(
	DataTable fkConstraints,
	string columnNameFkName,
	string columnNameFkSchema,
	string columnNamePkSchema,
	string columnNameFkTable,
	string columnNamePkTable,
	string columnNameFkField,
	string columnNamePkField,
	string updateRuleField,
	string deleteRuleField,
	Func<string, ForeignKeyRuleAction> actionRuleDetermineFunc
)

Parameters

fkConstraints
Type: System.DataDataTable
The fk constraints.
columnNameFkName
Type: SystemString
The column name of the names of the fk.
columnNameFkSchema
Type: SystemString
The column name of the names of the fk schema.
columnNamePkSchema
Type: SystemString
The column name of the names of the pk schema.
columnNameFkTable
Type: SystemString
The column name of the names of the fk table.
columnNamePkTable
Type: SystemString
The column name of the names of the pk table.
columnNameFkField
Type: SystemString
The column name of the names of the fk field.
columnNamePkField
Type: SystemString
The column name of the names of the pk field.
updateRuleField
Type: SystemString
the column name of the update rule values
deleteRuleField
Type: SystemString
The column name of the delete rule values.
actionRuleDetermineFunc
Type: SystemFuncString, ForeignKeyRuleAction
The action rule determine func, which is used to convert an action rule value to a function key rule action
See Also