DBTable.FindFKConstraintsByFieldSets 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.8.0.0 (5.8.21.0208)
Syntaxpublic 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.Generic.List<DBTableField>
The fk fields. - pkFields
- Type: System.Collections.Generic.List<DBTableField>
The pk fields. If null, only the fk fields are used for filtering the fkconstraints
Return Value
Type:
IEnumerable<DBForeignKeyConstraint>the FK constraints requested or an empty enumerable if none found
See Also