The SQL required to create the database objects for a TableGenerator.

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

Syntax

C#
public virtual string[] SqlCreateStrings(
	Dialect dialect
)
Visual Basic
Public Overridable Function SqlCreateStrings ( _
	dialect As Dialect _
) As String()
Visual C++
public:
virtual array<String^>^ SqlCreateStrings(
	Dialect^ dialect
)

Parameters

dialect
Type: NHibernate.Dialect..::..Dialect
The NHibernate.Dialect to help with creating the sql.

Return Value

An array of String objects that contain the Dialect specific sql to create the necessary database objects and to create the first value as 1 for the TableGenerator.

Implements

IPersistentIdentifierGenerator..::..SqlCreateStrings(Dialect)

See Also