Generates the SQL string to create the Primary 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 d,
	string defaultSchema
)
Visual Basic
Public Function SqlConstraintString ( _
	d As Dialect, _
	defaultSchema As String _
) As String
Visual C++
public:
String^ SqlConstraintString(
	Dialect^ d, 
	String^ defaultSchema
)

Parameters

d
Type: NHibernate.Dialect..::..Dialect
The Dialect to use for SQL rules.
defaultSchema
Type: System..::..String

[Missing <param name="defaultSchema"/> documentation for "M:NHibernate.Mapping.PrimaryKey.SqlConstraintString(NHibernate.Dialect.Dialect,System.String)"]

Return Value

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

See Also