SqLiteDbSetting
This class is the BaseDbSetting-derived implementation for SQLite. It is automatically registered by SqliteBootstrap — you do not need to instantiate it directly under normal use.
Configured Values
| Property | Value |
|---|---|
| AreTableHintsSupported | false |
| AverageableType | double |
| ClosingQuote | ] |
| DefaultSchema | null |
| IsDirectionSupported | false |
| IsExecuteReaderDisposable | true (false when constructed by SqliteBootstrap) |
| IsMultiStatementExecutable | true |
| IsPreparable | true |
| IsUseUpsert | true |
| OpeningQuote | [ |
| ParameterPrefix | @ |
The constructor accepts an
isExecuteReaderDisposableflag (defaults totrue). SqliteBootstrap explicitly passesfalse, since theMicrosoft.Data.Sqlitereader it pairs with should not be treated as disposable in that flow.
Usability
Use DbSettingMapper to override it with a custom implementation.
DbSettingMapper.Add(typeof(SqliteConnection), new MyCustomSqLiteDbSetting(), true);