PostgreSQL 8.1 and above defined the fuction lastval() that returns the value of the last sequence that nextval() was used on in the current session. Call lastval() if nextval() has not yet been called in the current session throw an exception.

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

Syntax

Visual Basic (Declaration)
Public Overrides Function GetIdentitySelectString ( _
	identityColumn As String, _
	tableName As String _
) As String
C#
public override string GetIdentitySelectString(
	string identityColumn,
	string tableName
)
Visual C++
public:
virtual String^ GetIdentitySelectString(
	String^ identityColumn, 
	String^ tableName
) override
JavaScript
function getIdentitySelectString(identityColumn, tableName);

Parameters

identityColumn
Type: System..::.String
not used
tableName
Type: System..::.String
not used

Return Value

See Also