The UniqueKey type exposes the following members.

Constructors

  NameDescription
Public methodUniqueKey
Initializes a new instance of the UniqueKey class

Methods

  NameDescription
Public methodAddColumn
Adds the Column to the ICollection of Columns that are part of the constraint.
(Inherited from Constraint.)
Public methodAddColumns (Inherited from Constraint.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsGenerated (Overrides Constraint..::..IsGenerated(Dialect).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSqlConstraintString(Dialect)
Generates the SQL string to create the Unique Key Constraint in the database.
Public methodSqlConstraintString(Dialect, String, String, String)
Generates the SQL string to create the Unique Key Constraint in the database.
(Overrides Constraint..::..SqlConstraintString(Dialect, String, String, String).)
Public methodSqlCreateString (Overrides Constraint..::..SqlCreateString(Dialect, IMapping, String, String).)
Public methodSqlDropString
Get the SQL string to drop this Constraint in the database.
(Overrides Constraint..::..SqlDropString(Dialect, String, String).)
Public methodToString (Inherited from Constraint.)

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Properties

  NameDescription
Public propertyColumnIterator
Gets an IEnumerable<(Of <(<'T>)>)> of Column objects that are part of the constraint.
(Inherited from Constraint.)
Public propertyColumns (Inherited from Constraint.)
Public propertyColumnSpan
Gets the number of columns that this Constraint contains.
(Inherited from Constraint.)
Public propertyName
Gets or sets the Name used to identify the constraint in the database.
(Inherited from Constraint.)
Public propertyTable
Gets or sets the Table this Constraint is in.
(Inherited from Constraint.)

See Also