简体   繁体   English

来自SQLiteConnection对象的SQLite .dump命令

[英]SQLite .dump command from SQLiteConnection object

使用.net中的SQLite,是否可以访问.dump命令或SQLiteConnection类中的等效项?

The .dump command is part of the sqlite command line program ( shell.c ), not part of the sqlite library. .dump命令是sqlite命令行程序( shell.c )的一部分,而不是sqlite库的一部分。 So, it is unlikely to be provided by a .net connection class. 因此,.net连接类不太可能提供该类。

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#. 但是,由于sqlite命令行程序的源代码在公共领域,并且使用与.net包装器相同的库,因此可以将.dump命令的C代码转换为C#。 See the function do_meta_command in this file . 请参阅此文件中的函数do_meta_command

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在将SQLiteConnection.Delete(object)命令与sqlite-net orm一起使用后更改sqlite文件的大小 - Change sqlite file size after using SQLiteConnection.Delete(object) command with sqlite-net orm SQLite:如何使用C#从SQliteConnection获取句柄 - SQLite: How to get handle from SQliteConnection using C# Mono中的Sqlite,找不到SQLiteConnection - Sqlite in mono, SQLiteConnection could not be found Xamarin.Android SQLite SQLiteConnection.Insert不返回插入对象的ID - Xamarin.Android SQLite SQLiteConnection.Insert does not return inserted object's ID “SQLite.SQLiteConnection”的类型初始值设定项抛出异常 - The type initializer for 'SQLite.SQLiteConnection' threw an exception 使用SQLiteConnection创建具有完全权限的SQLite数据库文件 - Create SQLite database file with full permission using SQLiteConnection 在Xamarin.Mac中使用SQLite-Net Extensions和SQLiteConnection - Using SQLite-Net Extensions and SQLiteConnection in Xamarin.Mac 是否可以使用SQLiteConnection库检查SQLite数据库是否被锁定 - Is it possible to check if a SQLite database is locked using the SQLiteConnection library System.TypeInitializationException:“SQLite.SQLiteConnection”的类型初始化程序引发异常 - System.TypeInitializationException: The type initializer for 'SQLite.SQLiteConnection' threw an exception SqliteConnection '对象引用未设置为对象的实例。' 用于内存数据库 - SqliteConnection 'Object reference not set to an instance of an object.' for in memory database
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM