Skip to content

NpgSqlGate class

Represents DbGate implementation for NpgSql databases

public class Korzh.EasyQuery.DbGates.NpgSqlGate
: DbGate
TypeNameDescription
NpgsqlConnectionConnectionGets the connection.
TypeNameDescription
voidCoreCheckConnection()Checks the connection.
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()
DbDataAdapterGetDataAdapter(String sqlText)
FormatTypeGetFormatType()Gets the type of the format.
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.