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.3.0.0 (5.3.0)
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
)
Public Sub ObtainAndInsertFkConstraintObjectsFromMetaData (
fkConstraints As DataTable,
columnNameFkName As String,
columnNameFkSchema As String,
columnNamePkSchema As String,
columnNameFkTable As String,
columnNamePkTable As String,
columnNameFkField As String,
columnNamePkField As String,
updateRuleField As String,
deleteRuleField As String,
actionRuleDetermineFunc As Func(Of String, ForeignKeyRuleAction)
)
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