Skip to content

NpgSqlGate class

Represents DbGate implementation for NpgSql databases

public class Korzh.EasyQuery.DbGates.NpgSqlGate
: DbGate

Properties

TypeNameDescription
NpgsqlConnectionConnectionGets the connection.

Methods

TypeNameDescription
voidCoreCheckConnection()Checks the connection. Connection is null
voidCoreGetDatabases(DbInfoList databases)Core implementation of Korzh.EasyQuery.Db.DbGate.GetDatabases method.
voidCoreGetFields(String dbName, String schemaName, String tableName, DbFieldInfoList fields)Core implementation of Korzh.EasyQuery.Db.DbGate.GetFields(System.String,System.String,System.String) method.
voidCoreGetFieldsBySQL(String sql, DbFieldInfoList fields)Core implementation of Korzh.EasyQuery.Db.DbGate.GetFieldsBySQL(System.String) method.
voidCoreGetLinks(String dbName, String schemaName, DbLinkInfoList links)Core implementation of Korzh.EasyQuery.Db.DbGate.GetLinks(System.String,System.String) method.
voidCoreGetTables(String dbName, String schemaName, DbTableInfoList tables)Core implementation of Korzh.EasyQuery.Db.DbGate.GetTables(System.String,System.String) method.
BooleanGetConnected()Core implemenation of “get” method of Korzh.EasyQuery.Db.DbGate.Connected property.
DbConnectionGetConnection()Get the connection object (NpgsqlConnection in this case)
DbDataAdapterGetDataAdapter(String sqlText)Gets the data adapter (NpgsqlDataAdapter in this case)
FormatTypeGetFormatType()Gets the type of the format.
StringGetGateId()Gets the ID of Korzh.EasyQuery.Db.DbGate type.
StringGetName()Gets the name of database gate.
StringGetPwdName()Gets the name of “password” attribute in connection string.
StringGetSqlDialect()Gets the name of default SQL dialect.
StringGetUidName()Gets the name of User ID attribute in connection string
voidSetConnected(Boolean connected)Core implemenation of “set” method of Korzh.EasyQuery.Db.DbGate.Connected property.

Static Properties

TypeNameDescription
TypeConnectionTypeGets the type of the connection.