Using SQLite from .net, Is there a way to access the .dump command or something equivalent from the SQLiteConnection class?
Using SQLite from .net, Is there a way to access the .dump command or
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
.dumpcommand 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.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
.dumpcommand to C#. See the functiondo_meta_commandin this file.