Show / Hide Table of Contents

Class CommandBuilderManager

Provides all the standard command builders for a given table type descriptor.

Inheritance
System.Object
CommandBuilderManager
Implements
ICommandBuilderManager
IDisposable
Namespace: Paradigm.ORM.Data.CommandBuilders
Assembly: Paradigm.ORM.Data.dll
Syntax
public class CommandBuilderManager : object, ICommandBuilderManager, IDisposable

Constructors

| Improve this Doc View Source

CommandBuilderManager(IServiceProvider, IDatabaseConnector, ITableTypeDescriptor)

Initializes a new instance of the CommandBuilderManager class.

Declaration
public CommandBuilderManager(IServiceProvider serviceProvider, IDatabaseConnector connector, ITableTypeDescriptor descriptor)
Parameters
Type Name Description
IServiceProvider serviceProvider

A reference to the currently scoped service provider.

IDatabaseConnector connector

A reference to the current database connection.

ITableTypeDescriptor descriptor

A table type descriptor.

Properties

| Improve this Doc View Source

DeleteCommandBuilder

Gets the delete command builder.

Declaration
public IDeleteCommandBuilder DeleteCommandBuilder { get; }
Property Value
Type Description
IDeleteCommandBuilder

The delete command builder.

| Improve this Doc View Source

InsertCommandBuilder

Gets the insert command builder.

Declaration
public IInsertCommandBuilder InsertCommandBuilder { get; }
Property Value
Type Description
IInsertCommandBuilder

The insert command builder.

| Improve this Doc View Source

LastInsertIdCommandBuilder

Gets the last insert identifier command builder.

Declaration
public ILastInsertIdCommandBuilder LastInsertIdCommandBuilder { get; }
Property Value
Type Description
ILastInsertIdCommandBuilder

The last insert identifier command builder.

| Improve this Doc View Source

SelectCommandBuilder

Gets the select command builder.

Declaration
public ISelectCommandBuilder SelectCommandBuilder { get; }
Property Value
Type Description
ISelectCommandBuilder

The select command builder.

| Improve this Doc View Source

SelectOneCommandBuilder

Gets the select one command builder.

Declaration
public ISelectOneCommandBuilder SelectOneCommandBuilder { get; }
Property Value
Type Description
ISelectOneCommandBuilder

The select one command builder.

| Improve this Doc View Source

UpdateCommandBuilder

Gets the update command builder.

Declaration
public IUpdateCommandBuilder UpdateCommandBuilder { get; }
Property Value
Type Description
IUpdateCommandBuilder

The update command builder.

Methods

| Improve this Doc View Source

Dispose()

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

Declaration
public void Dispose()

Implements

ICommandBuilderManager
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

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