Show / Hide Table of Contents

Class MySqlInsertCommandBuilder

Provides an implementation for mysql insert command builder objects.

Inheritance
System.Object
CommandBuilderBase
MySqlCommandBuilderBase
MySqlInsertCommandBuilder
Implements
IInsertCommandBuilder
ICommandBuilder
IDisposable
Inherited Members
MySqlCommandBuilderBase.GetTableName()
CommandBuilderBase.Connector
CommandBuilderBase.FormatProvider
CommandBuilderBase.Descriptor
CommandBuilderBase.Command
CommandBuilderBase.Dispose()
CommandBuilderBase.GetPropertyNames()
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.GetPropertyNames(IEnumerable<>)
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.GetDbParameterNames(IEnumerable<>, System.String)
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.GetDbParameterNamesAndValues(IEnumerable<>, System.String)
CommandBuilderBase.PopulateParameters()
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.PopulateParameters(IEnumerable<>)
Namespace: Paradigm.ORM.Data.MySql.CommandBuilders
Assembly: Paradigm.ORM.Data.MySql.dll
Syntax
public class MySqlInsertCommandBuilder : MySqlCommandBuilderBase, IInsertCommandBuilder, ICommandBuilder, IDisposable

Constructors

| Improve this Doc View Source

MySqlInsertCommandBuilder(IDatabaseConnector, ITableDescriptor)

Initializes a new instance of the MySqlInsertCommandBuilder class.

Declaration
public MySqlInsertCommandBuilder(IDatabaseConnector connector, ITableDescriptor descriptor)
Parameters
Type Name Description
IDatabaseConnector connector

A database connector.

ITableDescriptor descriptor

A table type descriptor.

Methods

| Improve this Doc View Source

GetCommand(IValueProvider)

Gets an insert command query ready to insert one entity.

Declaration
public IDatabaseCommand GetCommand(IValueProvider valueProvider)
Parameters
Type Name Description
IValueProvider valueProvider
Returns
Type Description
IDatabaseCommand

An insert command already parametrized to insert the entity.

Implements

IInsertCommandBuilder
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

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