从SQLiteConnection对象的SQLite使用.dump命令 [英] SQLite .dump command from SQLiteConnection object

查看:96
本文介绍了从SQLiteConnection对象的SQLite使用.dump命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从.NET使用SQLite,是否有访问方式使用.dump 命令或东西从SQLiteConnection类?

Using SQLite from .net, Is there a way to access the .dump command or something equivalent from the SQLiteConnection class?

推荐答案

使用.dump 命令是SQLite的命令行程序的一部分( shell.c ),而不是SQLite库的一部分。所以,它不可能通过一达网络连接类来提供。

The .dump command is part of the sqlite command line program (shell.c), not part of the sqlite library. So, it is unlikely to be provided by a .net connection class.

然而,由于SQLite的命令行程序的源代码是在公共领域,并使用相同的库作为.NET包装,将有可能翻译为使用.dump 命令C#C代码。见的 do_meta_command = nofollow的>此文件

However, since the source code for the sqlite command line program is in the public domain, and uses the same library as the .net wrapper, it would be possible to translate the C code for the .dump command to C#. See the function do_meta_command in this file.

这篇关于从SQLiteConnection对象的SQLite使用.dump命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆