Creates the PrimaryKey for the Table this type is persisted in.

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

Syntax

C#
public virtual void CreatePrimaryKey(
	Dialect dialect
)
Visual Basic
Public Overridable Sub CreatePrimaryKey ( _
	dialect As Dialect _
)
Visual C++
public:
virtual void CreatePrimaryKey(
	Dialect^ dialect
)

Parameters

dialect
Type: NHibernate.Dialect..::..Dialect
The Dialect that is used to Alias columns.

See Also