ProviderFactory.CreateConnection() を使用して SQLite 接続を取得しようとしています。次のメッセージで System.ArgumentException を取得しています。
「サポートされていないキーワード: 'datetimeformat'.」
接続文字列は次のとおりです。
@"data source=d:\db\Test.db3;Pooling=True;Max Pool Size=10;datetimeformat=Ticks"
app.config ファイルには次のものがあります。
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite"/>
<add name="SQLite Data Provider" invariant="System.Data.SQLite"
support="3F" description=".Net Framework Data Provider for SQLite"
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
</DbProviderFactories>
</system.data>
SQLiteConnection インスタンスをインスタンス化すると、接続文字列が機能します。ProviderFactory を使用すると失敗します。これを解決する方法について何か提案はありますか?