Get the select command to use to retrieve the last generated IDENTITY value for a particular table

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

Syntax

C#
public override string GetIdentitySelectString(
	string identityColumn,
	string tableName,
	DbType type
)
Visual Basic
Public Overrides Function GetIdentitySelectString ( _
	identityColumn As String, _
	tableName As String, _
	type As DbType _
) As String
Visual C++
public:
virtual String^ GetIdentitySelectString(
	String^ identityColumn, 
	String^ tableName, 
	DbType type
) override

Parameters

identityColumn
Type: System..::..String
The PK column.
tableName
Type: System..::..String
The table into which the insert was done
type
Type: System.Data..::..DbType
The DbType type code.

Return Value

The appropriate select command

See Also