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