Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
byte[]インメモリ SQLite データベースの表現に行き来できるようにしたいと考えています。私が現在知っている唯一の解決策はSQLiteConnection.BackupDatabase、アクティブなメモリ内データベースをディスク上の別のデータベースにコピーできるメソッドを使用することです。その後、そのデータベースをFile.ReadAllBytesでロードできますが、このアプローチは私のニーズに対して非常に非効率的です。
byte[]
SQLiteConnection.BackupDatabase
File.ReadAllBytes