Class MySqlCommandBuilderFactory
Provides an implementation to instantiate all the standard command builders.
Inheritance
System.Object
MySqlCommandBuilderFactory
Implements
Namespace: Paradigm.ORM.Data.MySql.CommandBuilders
Assembly: Paradigm.ORM.Data.MySql.dll
Syntax
public class MySqlCommandBuilderFactory : object, ICommandBuilderFactory
Methods
| Improve this Doc View SourceCreateDeleteCommandBuilder(ITableDescriptor)
Creates the delete command builder.
Declaration
public 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
public 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
public ILastInsertIdCommandBuilder CreateLastInsertIdCommandBuilder()
Returns
Type | Description |
---|---|
ILastInsertIdCommandBuilder |
CreateSelectCommandBuilder(ITableDescriptor)
Creates the select command builder.
Declaration
public 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
public 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
public IUpdateCommandBuilder CreateUpdateCommandBuilder(ITableDescriptor descriptor)
Parameters
Type | Name | Description |
---|---|---|
ITableDescriptor | descriptor | The table descriptor. |
Returns
Type | Description |
---|---|
IUpdateCommandBuilder |