Table of Contents

Class SqliteConAdapter

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

Connection string adapter for SQLite databases.

public class SqliteConAdapter : DbConAdapter
Inheritance
SqliteConAdapter
Inherited Members
Extension Methods

Properties

PropDefs

Gets the connection property definitions supported by SQLite.

public override DbConPropDef[] PropDefs { get; }

Property Value

DbConPropDef[]

ServerType

Gets the database server type handled by this adapter.

public override DbServerType ServerType { get; }

Property Value

DbServerType

Methods

ReadDatabase(Dictionary<string, string>, List<DbConProp>)

Reads the database file path from the Data Source or Database key.

protected override void ReadDatabase(Dictionary<string, string> Dict, List<DbConProp> Props)

Parameters

Dict Dictionary<string, string>
Props List<DbConProp>

WriteDatabase(List<string>, List<DbConProp>)

Writes the database file path using the Data Source key.

protected override void WriteDatabase(List<string> Parts, List<DbConProp> Props)

Parameters

Parts List<string>
Props List<DbConProp>

WritePort(List<string>, List<DbConProp>)

Does nothing because SQLite does not use a port value.

protected override void WritePort(List<string> Parts, List<DbConProp> Props)

Parameters

Parts List<string>
Props List<DbConProp>

WriteServer(List<string>, List<DbConProp>)

Does nothing because SQLite does not use a server value.

protected override void WriteServer(List<string> Parts, List<DbConProp> Props)

Parameters

Parts List<string>
Props List<DbConProp>