Skip to main content

odbcgate-class

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

public class Korzh.EasyQuery.DbGates.OdbcGate
: DbGate

Assembly: Korzh.EasyQuery.OdbcGate.dll

Constructors

NameTypeDescription
OdbcGate()voidInitializes a new instance of the OdbcGate class.

Properties

NameTypeDescription
ConnectionOdbcConnectionGets the System.Data.Odbc.OdbcConnection.

Methods

NameTypeDescription
CoreCheckConnection()voidChecks the connection. Connection is null
CoreGetDatabases(DbInfoList databases)voidCore implementation of Korzh.EasyQuery.Db.DbGate.GetDatabases method.
CoreGetFields(string dbName, string schemaName, string tableName, DbFieldInfoList fields)voidCore implementation of Korzh.EasyQuery.Db.DbGate.GetFields(System.String,System.String,System.String) method.
CoreGetFieldsBySQL(string sql, DbFieldInfoList fields)voidCore implementation of Korzh.EasyQuery.Db.DbGate.GetFieldsBySQL(System.String) method.
CoreGetLinks(string dbName, string schemaName, DbLinkInfoList links)voidCore implementation of Korzh.EasyQuery.Db.DbGate.GetLinks(System.String,System.String) method.
CoreGetTables(string dbName, string schemaName, DbTableInfoList tables)voidCore implementation of Korzh.EasyQuery.Db.DbGate.GetTables(System.String,System.String) method.
GetConnection()DbConnectionGets the System.Data.Odbc.OdbcConnection.
GetDataAdapter(string sqlText)DbDataAdapterReturns new instance of System.Data.Odbc.OdbcDataAdapter.
GetFormatType()FormatTypeReturns the format type for this DB gate
GetGateId()stringGets the ID of Korzh.EasyQuery.Db.DbGate type.
GetName()stringGets the name of Korzh.EasyQuery.DbGates.OdbcGate object.
GetPwdName()stringGets the name of "password" attribute in connection string.
GetSqlDialect()stringGets the name of default SQL dialect.
GetUidName()stringGets the name of User ID attribute in connection string
SetConnection(DbConnection connection)voidSets the System.Data.Odbc.OdbcConnection

Static Properties

NameTypeDescription
ConnectionTypeTypeGets the type of the connection.

Static Methods

NameTypeDescription
Register()voidRegisters this type of DbGate in global list of DbGate types.