MySqlGate class

Represents DbGate implementation for MySqlGate databases

public class Korzh.EasyQuery.DbGates.MySqlGate
    : DbGate

Package: Korzh.EasyQuery.MySqlGate (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.MySqlGate.dll

Constructors

Name Type Description
MySqlGate() void Initializes a new instance of the MySqlGate class.

Properties

Name Type Description
Connection MySqlConnection Gets the connection.

Methods

Name Type Description
CoreCheckConnection() void Checks the connection. Connection is null
CoreGetDatabases(DbInfoList databases) void Core implementation of Korzh.EasyQuery.Db.DbGate.GetDatabases method.
CoreGetFieldsBySQL(string sql, DbFieldInfoList fields) void Core implementation of Korzh.EasyQuery.Db.DbGate.GetFieldsBySQL(System.String) method.
CoreGetLinks(string dbName, string schemaName, DbLinkInfoList links) void Core implementation of Korzh.EasyQuery.Db.DbGate.GetLinks(System.String,System.String) method.
CoreGetTables(string dbName, string schemaName, DbTableInfoList tables) void Core implementation of Korzh.EasyQuery.Db.DbGate.GetTables(System.String,System.String) method.
GetConnection() DbConnection When overriden in derived class, returns the connection
GetFormatType() FormatType Gets the type of the format.
GetGateId() string Gets the ID of Korzh.EasyQuery.Db.DbGate type.
GetName() string Gets the name of database gate.
GetPwdName() string Gets the name of "password" attribute in connection string.
GetSqlDialect() string Gets the name of default SQL dialect.
GetTableFieldsMap(string dbName, string schemaName) Dictionary<string, DbFieldInfoList>
GetUidName() string Gets the name of User ID attribute in connection string
SetConnection(DbConnection connection) void Sets the MySql.Data.MySqlClient.MySqlConnection

Static Properties

Name Type Description
ConnectionType Type Gets the type of the connection.

Static Methods

Name Type Description
Register() void Registers this type of DbGate in global list of DbGate types.