This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public class MySqlDatabase |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class MySqlDatabase |
The type exposes the following methods.
Public Methods
Name | Description | |
---|---|---|
CreateAdapter |
Creates an IDbDataAdapter instance for the current database server.
(Inherited from Database.) |
|
CreateCommand |
Create an IDbCommand instance for the current database server.
(Inherited from Database.) |
|
CreateCommand |
Creates an IDbCommand instance with the given connection..
(Inherited from Database.) |
|
CreateCommand |
Creates an IDbCommand instance with the given transaction..
(Inherited from Database.) |
|
CreateCommand |
Obsolete.
Creates an IDbCommand instance with the given connection and transaction.
(Inherited from Database.) |
|
CreateCommand |
Creates an IDbCommand instance with the given connection, transaction, command text and parameters set.
(Inherited from Database.) |
|
CreateConnection |
Create an IDbConnection instance for the current database server.
(Inherited from Database.) |
|
CreatePagingQuery |
Not supported.
(Overrides Database..::CreatePagingQuery(String, String, Int32, Int32).) |
|
CreateParameter |
Create an IDataParameter instance for the current database server.
(Inherited from Database.) |
|
CreateParameter |
Create an IDataParameter instance for the current database server.
(Inherited from Database.) |
|
Equals | (Inherited from Object.) | |
ExecuteNonQuery |
Executes the query. No resultset is returned.
(Inherited from Database.) |
|
ExecuteNonQuery |
Executes the query. No resultset is returned.
(Inherited from Database.) |
|
ExecuteNonQuery |
Executes the query. No resultset is returned.
(Inherited from Database.) |
|
ExecuteNonQuery |
Executes the query. No resultset is returned.
(Inherited from Database.) |
|
ExecuteReader |
Executes the query in the given IDbCommand
(Inherited from Database.) |
|
ExecuteReader |
Executes the query in the given IDbCommand
(Inherited from Database.) |
|
ExecuteReader |
Executes the query and returns an IDataReader with the result.
(Inherited from Database.) |
|
ExecuteReader |
Executes the query and returns an IDataReader with the result.
(Inherited from Database.) |
|
ExecuteReader |
Executes the query and returns an IDataReader with the result.
(Inherited from Database.) |
|
ExecuteReader |
Executes the query and returns an IDataReader with the result.
(Inherited from Database.) |
|
ExecuteScalar<(Of <<'(T>)>>) |
Executes the query and returns a single value from the query.
(Inherited from Database.) |
|
ExecuteScalar<(Of <<'(T>)>>) |
Executes the query and returns a single value from the query.
(Inherited from Database.) |
|
ExecuteScalar<(Of <<'(T>)>>) |
Executes the query and returns an boolean value from the query.
(Inherited from Database.) |
|
ExecuteScalar<(Of <<'(T>)>>) |
Executes the query and returns a value of type T from the query.
(Inherited from Database.) |
|
ExecuteStoredProcedure |
Executes a stored procedure. The query parameters must be named parameters. The result is a
datatable that contains all the output parameters and their values of the stored procedure.
(Inherited from Database.) |
|
GetCommand |
Creates an IDbCommand instance on a new connection or joins an existing ambient transaction.
(Inherited from Database.) |
|
GetCommand |
Creates an IDbCommand instance on a new connection or joins an existing ambient transaction.
(Inherited from Database.) |
|
GetCommand |
Creates an IDbCommand instance on a new connection or joins an existing ambient transaction and sets the given commandText.
(Inherited from Database.) |
|
GetCommand |
Creates an IDbCommand instance on a new connection or joins an existing ambient transaction.
(Inherited from Database.) |
|
GetCommand |
Creates an IDbCommand instance on a new connection or joins an existing ambient transaction and sets the commandText and parameters.
(Inherited from Database.) |
|
GetHashCode | (Inherited from Object.) | |
GetIdentity | Overloaded. | |
GetParameterName |
Returns a string containing the modified parameterName, matching the MySql format.
(Overrides Database..::GetParameterName(String).) |
|
GetType | (Inherited from Object.) | |
NotifyAllTablesChanged |
Notify this Database object that all the tables in the database
have changed. This is useful when an unknown set of tables has been changed or
when someone wants all the caches to be flushed.
(Inherited from Database.) |
|
NotifyTableChanged |
This method is called if someone wishes to notify this Database
instance that a row in a database table has changed. It is important to notify
this Database to keep cached database tables up to date.
(Inherited from Database.) |
|
NotifyTableChanged |
This method is called if someone wishes to notify this Database
instance that a row in a database table has changed. It is important to notify
this Database to keep cached database tables up to date.
(Inherited from Database.) |
|
PreparseQuery | Overloaded. | |
SetIdentityInsertOnOff |
Sets the identity insert on or off.
(Overrides Database..::SetIdentityInsertOnOff(IDbConnection, IDbTransaction, String, Boolean).) |
|
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
CreateConnectionBase |
Creates a new connection.
(Inherited from Database.) |
|
CreateMetaXml |
Creates an Xml document containing a description of the database.
(Inherited from Database.) |
|
ExecuteInternal |
Executes the query
(Inherited from Database.) |
|
Finalize | (Inherited from Object.) | |
GetCachedParsedQuery |
Returns the cached parsed query from cache or null otherwise.
(Inherited from Database.) |
|
GetObjectId | Overloaded. | |
LogExecute |
Log the given IDbCommand object to the logging subsystem.
(Inherited from Database.) |
|
LogExecute |
Log the given IDbCommand object to the logging subsystem.
(Inherited from Database.) |
|
LogExecute |
Log the given IDbCommand object to the logging subsystem.
(Inherited from Database.) |
|
MakeDbNullable<(Of <<'(T>)>>) | (Inherited from Database.) | |
MemberwiseClone | (Inherited from Object.) | |
OnAfterExecuteStoredProcedure |
Execeted after a stored procedure has been executed. This method can be used
to modify the result.
(Inherited from Database.) |
|
OnBeforeExecuteStoredProcedure |
Executed before a stored procedure has been executed. This method can be used
to modify the command object.
(Inherited from Database.) |
|
PreparseParameterizedQuery |
Modifies a parameterized query to match the syntax of the current database server.
(Inherited from Database.) |
|
PreparseParameterizedQuery |
Modifies a parameterized query to match the syntax of the current database server.
(Inherited from Database.) |
|
SetCachedParsedQuery |
Adds the parsed query to the cache.
(Inherited from Database.) |
|
SplitQueryOnParameters |
Splits a parameterized query on the '?' symbol, ignoring any question marks in strings or comments.
This method can be used by inheritors who must replace the '?' symbol by something else because
their providers need that.
(Inherited from Database.) |
|
SplitSqlStatements |
Splits the sql statement in multiple statements.
(Inherited from Database.) |
See Also
Smartsite.Data Namespace