System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: 17045010dfaecec9bb5e9b0f94e182fa231b7e22
Title: Add SpatialLite extension support.
Status: Closed Type: Feature_Request
Severity: Important Priority: Medium
Subsystem: Integration_Via_PInvoke Resolution: Fixed
Last Modified: 2012-09-20 11:56:15
Version Found In: 1.0.82.0
Description:
Add a derivate project (e.g. System.Data.SpatiaLite) that includes SpatiaLite extension for SQLite so there is no need to call load_extension('libspatialite-2.dll') every time a connection is opened.

mistachkin added on 2011-10-20 14:11:43 UTC:
It might be better to provide a generic mechanism to pre-load extensions during the connection creation processing.

Also, I am not sure if the license for SpatialLite is compatible with that of System.Data.SQLite.


mistachkin added on 2012-09-19 23:19:28 UTC:
I think the solution to this is to have a static callback registered with the SQLiteConnection class that allows the caller to be notified when a connection is opened and/or closed.


mistachkin added on 2012-09-20 11:56:15 UTC:
Extension loading functionality added in check-in [5759e099be].