Returns the SQL used to get the Identity value from the last insert.

Namespace:  NHibernate.Persister.Entity
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Function SqlIdentitySelect ( _
	identityColumn As String, _
	tableName As String _
) As String
C#
public string SqlIdentitySelect(
	string identityColumn,
	string tableName
)
Visual C++
public:
String^ SqlIdentitySelect(
	String^ identityColumn, 
	String^ tableName
)
JavaScript
function sqlIdentitySelect(identityColumn, tableName);

Parameters

identityColumn
Type: System..::.String
tableName
Type: System..::.String

Remarks

This is not a NHibernate Command because the SQL contains no parameters.

See Also