Class PostgreSqlLastInsertIdCommandBuilder
Provides an implementation for postgresql select last inserted id command builder objects.
Inheritance
System.Object
PostgreSqlLastInsertIdCommandBuilder
Namespace: Paradigm.ORM.Data.PostgreSql.CommandBuilders
Assembly: Paradigm.ORM.Data.PostgreSql.dll
Syntax
public class PostgreSqlLastInsertIdCommandBuilder : object, ILastInsertIdCommandBuilder, ICommandBuilder, IDisposable
Constructors
| Improve this Doc View SourcePostgreSqlLastInsertIdCommandBuilder(IDatabaseConnector)
Initializes a new instance of the PostgreSqlLastInsertIdCommandBuilder class.
Declaration
public PostgreSqlLastInsertIdCommandBuilder(IDatabaseConnector connector)
Parameters
Type | Name | Description |
---|---|---|
IDatabaseConnector | connector | The database connector. |
Methods
| Improve this Doc View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
GetCommand()
Gets a command to retrieve the last inserted id.
Declaration
public IDatabaseCommand GetCommand()
Returns
Type | Description |
---|---|
IDatabaseCommand | a command already parametrized to retrieve the last inserted id. |
Implements
IDisposable