Connector/Net API Reference
1943
Class
Description
MySqlParameterCollection
Represents a collection of parameters relevant
to a
MySqlCommand
as well as their respective
mappings to columns in a DataSet. This class
cannot be inherited.
MySqlRowUpdatedEventArgs
Provides data for the RowUpdated event. This
class cannot be inherited.
MySqlRowUpdatingEventArgs
Provides data for the RowUpdating event. This
class cannot be inherited.
MySqlTransaction
Delegates
Delegate
Description
MySqlInfoMessageEventHandler
Represents the method that will handle the
InfoMessage
event of a
MySqlConnection
.
MySqlRowUpdatedEventHandler
Represents the method that will handle the
RowUpdatedevent of a
MySqlDataAdapter
.
MySqlRowUpdatingEventHandler
Represents the method that will handle the
RowUpdatingevent of a
MySqlDataAdapter
.
Enumerations
Enumeration
Description
MySqlDbType
Specifies MySQL-specific data type of a field,
property, for use in a
MySqlParameter
.
MySqlErrorCode
20.2.7.1.1.
MySql.Data.MySqlClientHierarchy
See Also
MySql.Data.MySqlClient Namespace
20.2.7.1.2.
BaseCommandInterceptor
The
BaseCommandInterceptor
class has these methods that you can override:
public virtual bool ExecuteScalar(string sql, ref object returnValue);
public virtual bool ExecuteNonQuery(string sql, ref int returnValue);
public virtual bool ExecuteReader(string sql, CommandBehavior behavior, ref MySqlDataReader returnValue);
public virtual void Init(MySqlConnection connection);
If your interceptor overrides one of the
Execute...
methods, set the
returnValue
output parameter
and return
true
if you handled the event, or
false
if you did not handle the event. The SQL command
is processed normally only when all command interceptors return
false
.
The connection passed to the
Init
method is the connection that is attached to this interceptor.
For full usage and examples, see
Section 20.2.5.11, “Using the Connector/Net Interceptor Classes”
.
20.2.7.1.3.
BaseExceptionInterceptor
You develop an exception interceptor first by creating a subclass of the
BaseExceptionInterceptor
class. You must override the
InterceptException()
method. You
can also override the
Init()
method to do some one-time initialization.
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...