GitOffice / csharp-sqlite

Automatically exported from code.google.com/p/csharp-sqlite
Other
0 stars 0 forks source link

Unable to use csharp-sqlite in dll with VFS because of sqlite3_file as partial class #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
VFS usually needs add data to sqlite3_file class, while define sqlite3_file as 
partial class instead of base class make it impossible to add data when using 
pre-built csharp-sqlite dll.

I think change the parameter "Sqlite3.sqlite3_file db" of xOpen function as 
output parameter and let each VFS derive from sqlite3_file class and create the 
object in xOpen would fix it.

What version of the product are you using? On what operating system?
3771

Please provide any additional information below.

Original issue reported on code.google.com by brigh...@gmail.com on 10 Mar 2012 at 4:12

GoogleCodeExporter commented 9 years ago
Good points;  
Please move this discussion to http://groups.google.com/group/csharp-sqlite

If we can get consensus there, I would be willing to implement it

Original comment by noah.hart@gmail.com on 26 Mar 2012 at 7:14