Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FKConstraint Class

FKConstraint Class

Visual Studio 2010

Class representing the information for a given foreign-key constraint.


Namespace:  Microsoft.SqlServerCe.Management.Scripting.Schema
Assembly:  Microsoft.SqlServerCe.Management.Scripting (in Microsoft.SqlServerCe.Management.Scripting.dll)

public class FKConstraint : Constraint

The FKConstraint type exposes the following members.

Public propertyColumnsGets the list of columns participating for a given constraint. (inherited from Constraint)
Public propertyConstraintTypeGets the type of constraint the Constraint represents. (inherited from Constraint)
Public propertyDeleteRuleGets or sets the rule for deleting the foreign key constraint.
Public propertyNameGets the constraint name of the specified Constraint object. (inherited from Constraint)
Public propertyReferencedColumnsGets a list of columns from the unique constraint table participating in this foreign-key relationship.
Public propertyReferencedTableGets the name of the unique constraint table participating in this foreign-key relationship.
Public propertyTableNameGet the table name for the specified Constraint object.. (inherited from Constraint)
Public propertyUniqueConstraintName Gets or sets the unique constraint name for the foreign key constraint.
Public propertyUpdateRule Gets or sets the rule for updating the foreign key constraint.

Public methodEquals (inherited from Object)
Protected methodFinalize (inherited from Object)
Public methodGetHashCode (inherited from Object)
Public methodGetType (inherited from Object)
Protected methodMemberwiseClone (inherited from Object)
Public methodToString (inherited from Object)

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft