Class SqlLastInsertIdCommandBuilder
Provides an implementation for sql select last inserted id command builder objects.
Inheritance
System.Object
SqlLastInsertIdCommandBuilder
Namespace: Paradigm.ORM.Data.SqlServer.CommandBuilders
Assembly: Paradigm.ORM.Data.SqlServer.dll
Syntax
public class SqlLastInsertIdCommandBuilder : object, ILastInsertIdCommandBuilder, ICommandBuilder, IDisposable
Constructors
| Improve this Doc View SourceSqlLastInsertIdCommandBuilder(IDatabaseConnector)
Initializes a new instance of the SqlLastInsertIdCommandBuilder class.
Declaration
public SqlLastInsertIdCommandBuilder(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