开发者

How to load a disk-based database to in-memory database using Sqlite in Mono?

开发者 https://www.devze.com 2023-02-13 12:17 出处:网络
Can I load a disk-database file (.db) to a in-memory database created by :memory: in Sqlite? I am using Mono, and Mono.Data.Sqlite is the library I am linking to. Does anyone know how to do that? or c

Can I load a disk-database file (.db) to a in-memory database created by :memory: in Sqlite? I am using Mono, and Mono.Data.Sqlite is the library I am linking to. Does anyone know how to do that? or can 开发者_如何学编程anyone point me to a document for this library? Thanks!

-gb


you should use the SQLite Backup API. here is a couple of links.

Using the SQLite Online Backup API

Online Backup API

0

精彩评论

暂无评论...
验证码 换一张
取 消