The Constraint type exposes the following members.

Methods

  NameDescription
AddColumn
Adds the Column to the ICollection of Columns that are part of the constraint.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SqlConstraintString
When implemented by a class, generates the SQL string to create the named Constraint in the database.
SqlCreateString
Generates the SQL string to create this Constraint in the database.
SqlDropString
Generates the SQL string to drop this Constraint in the database.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also