OdbcGate class

Represents Korzh.EasyQuery.Db.DbGate implementation for ODBC connection

public class Korzh.EasyQuery.DbGates.OdbcGate
    : DbGate

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

Assembly: Korzh.EasyQuery.OdbcGate.dll

Constructors

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

Properties

Name Type Description
Connection OdbcConnection Gets the System.Data.Odbc.OdbcConnection.

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.
CoreGetFields(string dbName, string schemaName, string tableName, DbFieldInfoList fields) void Core implementation of Korzh.EasyQuery.Db.DbGate.GetFields(System.String,System.String,System.String) 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 Gets the System.Data.Odbc.OdbcConnection.
GetDataAdapter(string sqlText) DbDataAdapter Returns new instance of System.Data.Odbc.OdbcDataAdapter.
GetFormatType() FormatType Returns the format type for this DB gate
GetGateId() string Gets the ID of Korzh.EasyQuery.Db.DbGate type.
GetName() string Gets the name of Korzh.EasyQuery.DbGates.OdbcGate object.
GetPwdName() string Gets the name of "password" attribute in connection string.
GetSqlDialect() string Gets the name of default SQL dialect.
GetUidName() string Gets the name of User ID attribute in connection string
SetConnection(DbConnection connection) void Sets the System.Data.Odbc.OdbcConnection

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.