本文介绍了如何在 Mono 中使用 Sqlite 将基于磁盘的数据库加载到内存数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以将磁盘数据库文件 (.db) 加载到由 :memory: 在 Sqlite 中创建的内存数据库中吗?我正在使用 Mono,Mono.Data.Sqlite 是我要链接到的库.有谁知道这是怎么做到的吗?或者任何人都可以指向我这个库的文档?谢谢!

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

推荐答案

您应该使用 SQLite Backup API.这是几个链接.

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

使用 SQLite 在线备份 API

在线备份 API

这篇关于如何在 Mono 中使用 Sqlite 将基于磁盘的数据库加载到内存数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 19:37