FKConstraint Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServerCe.Management.Scripting.Schema.Constraint
    Microsoft.SqlServerCe.Management.Scripting.Schema.FKConstraint

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

Syntax

'Declaration
Public Class FKConstraint _
    Inherits Constraint
'Usage
Dim instance As FKConstraint
public class FKConstraint : Constraint
public ref class FKConstraint : public Constraint
type FKConstraint =  
    class
        inherit Constraint
    end
public class FKConstraint extends Constraint

The FKConstraint type exposes the following members.

Properties

  Name Description
Public property Columns Gets the list of columns participating for a given constraint. (inherited from Constraint)
Public property ConstraintType Gets the type of constraint the Constraint represents. (inherited from Constraint)
Public property DeleteRule Gets or sets the rule for deleting the foreign key constraint.
Public property Name Gets the constraint name of the specified Constraint object. (inherited from Constraint)
Public property ReferencedColumns Gets a list of columns from the unique constraint table participating in this foreign-key relationship.
Public property ReferencedTable Gets the name of the unique constraint table participating in this foreign-key relationship.
Public property TableName Get the table name for the specified Constraint object.. (inherited from Constraint)
Public property UniqueConstraintName Gets or sets the unique constraint name for the foreign key constraint.
Public property UpdateRule Gets or sets the rule for updating the foreign key constraint.

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)

Top

Thread Safety

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.

See Also

Reference

Microsoft.SqlServerCe.Management.Scripting.Schema Namespace