Export (0) Print
Expand All

UniqueConstraint Members

UniqueConstraint overview

Public Constructors

public constructorUniqueConstraint Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the UniqueConstraint class.

Public Properties

public propertyColumns

Supported by the .NET Compact Framework.

Gets the array of columns that this constraint affects.
public propertyConstraintName (inherited from Constraint)

Supported by the .NET Compact Framework.

The name of a constraint in the ConstraintCollection.
public propertyExtendedProperties (inherited from Constraint)

Supported by the .NET Compact Framework.

Gets the collection of user-defined constraint properties.
public propertyIsPrimaryKey

Supported by the .NET Compact Framework.

Gets a value indicating whether or not the constraint is on a primary key.
public propertyTable

Supported by the .NET Compact Framework.

Overridden. Gets the table to which this constraint belongs.

Public Methods

public methodEquals

Supported by the .NET Compact Framework.

Overridden. Compares this constraint to a second to determine if both are identical.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Gets the hash code of this instance of the UniqueConstraint object.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString (inherited from Constraint)

Supported by the .NET Compact Framework.

Overridden. Gets the ConstraintName, if there is one, as a string.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

UniqueConstraint Class | System.Data Namespace

Show:
© 2014 Microsoft