The syntax used during DDL to define a column as being an IDENTITY of a particular type.

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

Syntax

C#
public virtual string GetIdentityColumnString(
	DbType type
)
Visual Basic
Public Overridable Function GetIdentityColumnString ( _
	type As DbType _
) As String
Visual C++
public:
virtual String^ GetIdentityColumnString(
	DbType type
)

Parameters

type
Type: System.Data..::..DbType
The DbType type code.

Return Value

The appropriate DDL fragment.

See Also