2
SQLiteでtransactionscopeを使用する際に問題があります。次のコードを使用しています。私はts.Complete()関数を呼び出さない間も、変更はまだデータベースにコミットされます。トランザクションスコープがサブソニックのSQLiteで動作しない
Using ts As New System.Transactions.TransactionScope()
Using sharedConnectionScope As New SubSonic.SharedDbConnectionScope()
' Do your individual saves here'
If all OK
ts.Complete()
End Using
End Using
このようなTransactionScopeを使用している場合は、不要です。 –
しかし、私はまだ以前の方法は亜音速で動作するはずだと思います。 サブソニックやSQLiteのバグかどうかわかりませんado.net profider –
おそらくSQLite ADO.netプロバイダ – TheVillageIdiot