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
)
Public Function FindFKConstraintsByFieldSets (
fkFields As List(Of DBTableField),
pkFields As List(Of DBTableField)
) As IEnumerable(Of DBForeignKeyConstraint)
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:
IEnumerableDBForeignKeyConstraintthe FK constraints requested or an empty enumerable if none found
See Also