Interface ICommandBuilderFactory
Provides an interface for a command builder factory.
Namespace: Paradigm.ORM.Data.CommandBuilders
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface ICommandBuilderFactory
Methods
| Improve this Doc View SourceCreateDeleteCommandBuilder(ITableDescriptor)
Creates the delete command builder.
Declaration
IDeleteCommandBuilder CreateDeleteCommandBuilder(ITableDescriptor descriptor)
Parameters
| Type | Name | Description |
|---|---|---|
| ITableDescriptor | descriptor | The table descriptor. |
Returns
| Type | Description |
|---|---|
| IDeleteCommandBuilder |
CreateInsertCommandBuilder(ITableDescriptor)
Creates the insert command builder.
Declaration
IInsertCommandBuilder CreateInsertCommandBuilder(ITableDescriptor descriptor)
Parameters
| Type | Name | Description |
|---|---|---|
| ITableDescriptor | descriptor | The table descriptor. |
Returns
| Type | Description |
|---|---|
| IInsertCommandBuilder |
CreateLastInsertIdCommandBuilder()
Creates the last insert identifier command builder.
Declaration
ILastInsertIdCommandBuilder CreateLastInsertIdCommandBuilder()
Returns
| Type | Description |
|---|---|
| ILastInsertIdCommandBuilder |
CreateSelectCommandBuilder(ITableDescriptor)
Creates the select command builder.
Declaration
ISelectCommandBuilder CreateSelectCommandBuilder(ITableDescriptor descriptor)
Parameters
| Type | Name | Description |
|---|---|---|
| ITableDescriptor | descriptor | The table descriptor. |
Returns
| Type | Description |
|---|---|
| ISelectCommandBuilder |
CreateSelectOneCommandBuilder(ITableDescriptor)
Creates the select one command builder.
Declaration
ISelectOneCommandBuilder CreateSelectOneCommandBuilder(ITableDescriptor descriptor)
Parameters
| Type | Name | Description |
|---|---|---|
| ITableDescriptor | descriptor | The table descriptor. |
Returns
| Type | Description |
|---|---|
| ISelectOneCommandBuilder |
CreateUpdateCommandBuilder(ITableDescriptor)
Creates the update command builder.
Declaration
IUpdateCommandBuilder CreateUpdateCommandBuilder(ITableDescriptor descriptor)
Parameters
| Type | Name | Description |
|---|---|---|
| ITableDescriptor | descriptor | The table descriptor. |
Returns
| Type | Description |
|---|---|
| IUpdateCommandBuilder |