MySqlCommandBuilder Members

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image

The MySqlCommandBuilder type exposes the following members.

Constructors

  Name Description
Public method MySqlCommandBuilder()()()()
Initializes a new instance of the MySqlCommandBuilder class.
Public method MySqlCommandBuilder(MySqlDataAdapter)
Initializes a new instance of the MySqlCommandBuilder class with the associated MySqlDataAdapter object.

Methods

  Name Description
Protected method ApplyParameterInfo (Overrides DbCommandBuilder..::..ApplyParameterInfo(DbParameter, DataRow, StatementType, Boolean).)
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method Static member DeriveParameters
Retrieves parameter information from the stored procedure specified in the MySqlCommand and populates the Parameters collection of the specified MySqlCommand object. This method is not currently supported since stored procedures are not available in MySql.
Public method Dispose()()()()
Releases all resources used by the Component.
(Inherited from Component.)
Protected method Dispose(Boolean)
Releases the unmanaged resources used by the DbCommandBuilder and optionally releases the managed resources.
(Inherited from DbCommandBuilder.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public method GetDeleteCommand()()()()
Gets the delete command.
Public method GetDeleteCommand(Boolean)
Gets the automatically generated DbCommand object required to perform deletions at the data source, optionally using columns for parameter names.
(Inherited from DbCommandBuilder.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetInsertCommand()()()()
Gets the insert command.
Public method GetInsertCommand(Boolean)
Gets the automatically generated DbCommand object required to perform insertions at the data source, optionally using columns for parameter names.
(Inherited from DbCommandBuilder.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected method GetParameterName(Int32) (Overrides DbCommandBuilder..::..GetParameterName(Int32).)
Protected method GetParameterName(String)
Protected method GetParameterPlaceholder (Overrides DbCommandBuilder..::..GetParameterPlaceholder(Int32).)
Protected method GetSchemaTable (Overrides DbCommandBuilder..::..GetSchemaTable(DbCommand).)
Protected method GetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetUpdateCommand()()()()
Gets the update command.
Public method GetUpdateCommand(Boolean)
Gets the automatically generated DbCommand object required to perform updates at the data source, optionally using columns for parameter names.
(Inherited from DbCommandBuilder.)
Protected method InitializeCommand
Resets the CommandTimeout, Transaction, CommandType, and UpdateRowSource properties on the DbCommand.
(Inherited from DbCommandBuilder.)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected method MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public method QuoteIdentifier (Overrides DbCommandBuilder..::..QuoteIdentifier(String).)
Public method RefreshSchema
Clears the commands associated with this DbCommandBuilder.
(Inherited from DbCommandBuilder.)
Protected method RowUpdatingHandler
Adds an event handler for the RowUpdating event.
(Inherited from DbCommandBuilder.)
Protected method SetRowUpdatingHandler (Overrides DbCommandBuilder..::..SetRowUpdatingHandler(DbDataAdapter).)
Public method ToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Public method UnquoteIdentifier (Overrides DbCommandBuilder..::..UnquoteIdentifier(String).)

Properties

  Name Description
Protected property CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public property CatalogLocation
Sets or gets the CatalogLocation for an instance of the DbCommandBuilder class.
(Inherited from DbCommandBuilder.)
Public property CatalogSeparator
Sets or gets a string used as the catalog separator for an instance of the DbCommandBuilder class.
(Inherited from DbCommandBuilder.)
Public property ConflictOption
Specifies which ConflictOption is to be used by the DbCommandBuilder.
(Inherited from DbCommandBuilder.)
Public property Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public property DataAdapter
Gets or sets a MySqlDataAdapter object for which SQL statements are automatically generated.
Protected property DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected property Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public property QuotePrefix
Gets or sets the beginning character or characters to use when specifying database objects (for example, tables or columns) whose names contain characters such as spaces or reserved tokens.
(Inherited from DbCommandBuilder.)
Public property QuoteSuffix
Gets or sets the ending character or characters to use when specifying database objects (for example, tables or columns) whose names contain characters such as spaces or reserved tokens.
(Inherited from DbCommandBuilder.)
Public property SchemaSeparator
Gets or sets the character to be used for the separator between the schema identifier and any other identifiers.
(Inherited from DbCommandBuilder.)
Public property SetAllValues
Specifies whether all column values in an update statement are included or only changed ones.
(Inherited from DbCommandBuilder.)
Public property Site
Gets or sets the ISite of the Component.
(Inherited from Component.)

Events

  Name Description
Public event Disposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)

See Also