[sqlite] Open DB from stream to use System.IO.Packaging.Package
On Aug 20, 2015, at 5:27 AM, Steffen Mangold wrote: > > What I want is to use the System.IO.Packaging.Package class to build a custom > file format. > Inside this a SQLite DB should be one System.IO.Packaging.PackagePart. It seems to me that SQLite and this .NET hierarchy are both trying to do essentially the same thing, which is allow you to store heterogeneous data in a single file. If you want to use SQLite for part of that, why not use it for *all* of that? What is it that you want to store in System.IO.Packaging.Package that can?t live in a SQLite table instead?
[sqlite] Open DB from stream to use System.IO.Packaging.Package
Steffen Mangold wrote: > > is there a proper way to open a SQLiteConnection from a Stream object? > That is not directly supported. -- Joe Mistachkin
[sqlite] Open DB from stream to use System.IO.Packaging.Package
Hi, is there a proper way to open a SQLiteConnection from a Stream object? What I want is to use the System.IO.Packaging.Package class to build a custom file format. Inside this a SQLite DB should be one System.IO.Packaging.PackagePart. I don't want to copy the DB part to temp directory every time I want to access it. Best Regards Steffen Mangold