Generates the SQL string to create the Unique Key Constraint in the database.

Namespace: NHibernate.Mapping
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public string SqlConstraintString(
	Dialect dialect
)
Visual Basic
Public Function SqlConstraintString ( _
	dialect As Dialect _
) As String
Visual C++
public:
String^ SqlConstraintString(
	Dialect^ dialect
)

Parameters

dialect
Type: NHibernate.Dialect..::..Dialect
The Dialect to use for SQL rules.

Return Value

A string that contains the SQL to create the Unique Key Constraint.

See Also