Click or drag to resize

DBForeignKeyConstraintGetUniqueConstraintUsedByFk Method

Gets the unique constraint used by fk. If this FK constraint is a 1:1 fk constraint, and the Fk side is not a PK, it has to be that the FK constraint uses a unique constraint in the FK table which is equal to the set of FK fields. If that's the case, this method returns that unique constraint, otherwise null.

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 DBUniqueConstraint GetUniqueConstraintUsedByFk()

Return Value

Type: DBUniqueConstraint
requested unique constraint otherwise null
See Also