AhtolaDbSetting

A setting class used for the Ahtola data provider.

This class is the BaseDbSetting-derived implementation for Ahtola. It is automatically registered by AhtolaBootstrap — you do not need to instantiate it directly under normal use.

It carries the same dialect values as the other SQLite providers, since Ahtola is SQLite-compatible.

Configured Values

Property Value
AreTableHintsSupported false
ClosingQuote ]
DefaultSchema null
IsAffectedRowsSupported true
IsDirectionSupported false
IsExecuteReaderDisposable true (false when constructed by AhtolaBootstrap)
IsMultiStatementExecutable true
IsInsertAllBatchable true
IsPreparable true
IsTransactionSupported true
IsUseUpsert true
RequiresDbTypeBeforeValue false
SkipsUnreferencedParameters false
MaxParameterCount 999
MultiStatementSeparator ;
OpeningQuote [
ParameterPrefix @
SqlTextParameterPrefix @

The constructor accepts an isExecuteReaderDisposable flag (defaults to true). AhtolaBootstrap explicitly passes false. The class is sealed.

Usability

Use DbSettingMapper to override it with a custom implementation.

DbSettingMapper.Add(typeof(SqliteConnection), new MyCustomAhtolaDbSetting(), true);