MySqlScript Class
From MySQL Connector/Net
MySQL Connector/Net
| MySqlScript Class |
Provides a class capable of executing a SQL script containing
multiple SQL statements including CREATE PROCEDURE statements
that require changing the delimiter
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
The MySqlScript type exposes the following members.
| Name | Description | |
|---|---|---|
| MySqlScript |
Initializes a new instance of the
MySqlScript class.
| |
| MySqlScript(String) |
Initializes a new instance of the
MySqlScript class.
| |
| MySqlScript(MySqlConnection) |
Initializes a new instance of the
MySqlScript class.
| |
| MySqlScript(MySqlConnection, String) |
Initializes a new instance of the
MySqlScript class.
|
| Name | Description | |
|---|---|---|
| Connection |
Gets or sets the connection.
| |
| Delimiter |
Gets or sets the delimiter.
| |
| Query |
Gets or sets the query.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Execute |
Executes this instance.
| |
| ExecuteAsync |
Async version of Execute
| |
| ExecuteAsync(CancellationToken) | ||
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Error | ||
| ScriptCompleted | ||
| StatementExecuted |