SqLiteGate class

Represents Korzh.EasyQuery.Db.DbGate implementation for SQLite databases

public class Korzh.EasyQuery.DbGates.SqLiteGate
    : DbGate

Properties

Type Name Description
SqliteConnection Connection Gets the connection.

Methods

Type Name Description
String AssembleConnectionString() Builds the final connection string based on the string defined in Korzh.EasyQuery.Db.DbGate.ConnectionString property, current environment variables and the parameters defined in UserID and Password properties.
void CoreCheckConnection() Checks the connection. Connection is null
void CoreGetFields(String dbName, String schemaName, String tableName, DbFieldInfoList fields) Core implementation of Korzh.EasyQuery.Db.DbGate.GetFields(System.String,System.String,System.String) method.
void CoreGetFieldsBySQL(String sql, DbFieldInfoList fields) Core implementation of Korzh.EasyQuery.Db.DbGate.GetFieldsBySQL(System.String) method.
void CoreGetLinks(String dbName, String schemaName, DbLinkInfoList links) Core implementation of Korzh.EasyQuery.Db.DbGate.GetLinks(System.String,System.String) method.
void CoreGetTables(String dbName, String schemaName, DbTableInfoList tables) Core implementation of Korzh.EasyQuery.Db.DbGate.GetTables(System.String,System.String) method.
Boolean GetConnected() Core implemenation of "get" method of Korzh.EasyQuery.Db.DbGate.Connected property.
DbConnection GetConnection() When overriden in derived class, returns the connection
DataType GetDataTypeBySqlType(String sqlType) Gets the DataType enum value by by SQLite data type.
FormatType GetFormatType() Gets the type of the format.
String GetGateId() Gets the ID of Korzh.EasyQuery.Db.DbGate type.
String GetName() Gets the ID of Korzh.EasyQuery.Db.DbGate type.
void SetConnected(Boolean connected) Core implemenation of "set" method of Korzh.EasyQuery.Db.DbGate.Connected property.

Static Properties

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

Static Methods

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