Show / Hide Table of Contents

Class SqlLastInsertIdCommandBuilder

Provides an implementation for sql select last inserted id command builder objects.

Inheritance
System.Object
SqlLastInsertIdCommandBuilder
Implements
ILastInsertIdCommandBuilder
ICommandBuilder
IDisposable
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 Source

SqlLastInsertIdCommandBuilder(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 Source

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()
| Improve this Doc View Source

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

ILastInsertIdCommandBuilder
ICommandBuilder
IDisposable

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)

See Also

ILastInsertIdCommandBuilder
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.