Click or drag to resize

DBTableFindFKConstraintsByFieldSets Method

Gets the foreign key constraints between the field sets given, or if pkFields isn't specified, defined on the fkFields specified

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public IEnumerable<DBForeignKeyConstraint> FindFKConstraintsByFieldSets(
	List<DBTableField> fkFields,
	List<DBTableField> pkFields
)

Parameters

fkFields
Type: System.Collections.GenericListDBTableField
The fk fields.
pkFields
Type: System.Collections.GenericListDBTableField
The pk fields. If null, only the fk fields are used for filtering the fkconstraints

Return Value

Type: IEnumerableDBForeignKeyConstraint
the FK constraints requested or an empty enumerable if none found
See Also