Class CommandBuilderManager
Provides all the standard command builders for a given table type descriptor.
Inheritance
Namespace: Paradigm.ORM.Data.CommandBuilders
Assembly: Paradigm.ORM.Data.dll
Syntax
public class CommandBuilderManager : object, ICommandBuilderManager, IDisposable
Constructors
| Improve this Doc View SourceCommandBuilderManager(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 SourceDeleteCommandBuilder
Gets the delete command builder.
Declaration
public IDeleteCommandBuilder DeleteCommandBuilder { get; }
Property Value
Type | Description |
---|---|
IDeleteCommandBuilder | The delete command builder. |
InsertCommandBuilder
Gets the insert command builder.
Declaration
public IInsertCommandBuilder InsertCommandBuilder { get; }
Property Value
Type | Description |
---|---|
IInsertCommandBuilder | The insert command builder. |
LastInsertIdCommandBuilder
Gets the last insert identifier command builder.
Declaration
public ILastInsertIdCommandBuilder LastInsertIdCommandBuilder { get; }
Property Value
Type | Description |
---|---|
ILastInsertIdCommandBuilder | The last insert identifier command builder. |
SelectCommandBuilder
Gets the select command builder.
Declaration
public ISelectCommandBuilder SelectCommandBuilder { get; }
Property Value
Type | Description |
---|---|
ISelectCommandBuilder | The select command builder. |
SelectOneCommandBuilder
Gets the select one command builder.
Declaration
public ISelectOneCommandBuilder SelectOneCommandBuilder { get; }
Property Value
Type | Description |
---|---|
ISelectOneCommandBuilder | The select one command builder. |
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 SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()