DbCommandBuilder ClassNReco.Data Class Library Documentation
Automatically generates SQL commands for SELECT/INSERT/UPDATE/DELETE queries.
Inheritance Hierarchy

System.Object
  NReco.Data.DbCommandBuilder
    NReco.Data.DbBatchCommandBuilder

Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax

public class DbCommandBuilder : IDbCommandBuilder

The DbCommandBuilder type exposes the following members.

Constructors

  NameDescription
Public methodDbCommandBuilder
Initializes a new instance of the DbCommandBuilder.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCommand
Public methodGetDeleteCommand
Gets the automatically generated IDbCommand object to delete rows by specified Query.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetInsertCommand
Gets the automatically generated IDbCommand object to insert new record.
Public methodGetSelectCommand
Gets the automatically generated IDbCommand object to select rows by specified Query.
Protected methodGetSqlBuilder
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUpdateCommand
Gets the automatically generated IDbCommand object to update rows by specified Query.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetCommandText
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods

  NameDescription
Public Extension MethodGetInsertCommand(String, IDictionary<String, Object>)Overloaded. (Defined by DbCommandBuilderExtensions.)
Public Extension MethodGetInsertCommand(String, Object)Overloaded. (Defined by DbCommandBuilderExtensions.)
Public Extension MethodGetUpdateCommand(Query, IDictionary<String, Object>)Overloaded. (Defined by DbCommandBuilderExtensions.)
Public Extension MethodGetUpdateCommand(Query, Object)Overloaded. (Defined by DbCommandBuilderExtensions.)
Top
Properties

  NameDescription
Public propertyDbFactory
Gets DB Factory component.
Public propertyDeleteTemplate
Gets or sets template for SQL DELETE query.
Public propertyInsertTemplate
Gets or sets template for SQL INSERT query.
Public propertySelectTemplate
Gets or sets template for SQL SELECT query.
Public propertyUpdateTemplate
Gets or sets template for SQL UPDATE query.
Public propertyViews
Gets or sets view name -> DbDataView dictionary.
Top
See Also