This project is read-only.

SQLite Data Provider

This version of the Enterprise Library SQLite Data Provider was tested against the SQLite Expert v2.3.2.1919
and uses the SQLite.NET data provider v1.0.65.0 downloaded separately.

The SQLite database and admin tools can be downloaded from and are licence free.
The SQLite.NET data provider can be downloaded from and is licence free.

Install SQLite Expert Personal. This will give you an admin tool for managing SQLite databases.
Install the SQLite ADO.NET 2.0/3.5 Data Provider using the downloaded installer which will put the System.Data.SQLite Data Provider into the GAC.

Note: SQLite does not support stored procedures and there is no user authentication security on the Database as such.

The following is an example of a configuration file using a SQLite Data Provider:

<?xml version="1.0" encoding="utf-8"?>
		<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
	<dataConfiguration defaultDatabase="Service_Dflt">
			<add databaseType="EntLibContrib.Data.SQLite.SQLiteDatabase, EntLibContrib.Data.SQLite, Version=, Culture=neutral, PublicKeyToken=null" name="System.Data.SQLite" />
		<add	name="Service_Dflt"
			connectionString="Data Source=Northwind.db;Version=3;" />
		<add	name="NewDatabase"
			connectionString="Data Source=Northwind.db;Version=3;"/>
		<add	name="DbWithSQLiteAuthn"
			connectionString="Data Source=Northwind.db;Version=3;"/>
		<add	name="NwindPersistFalse"
			connectionString="Data Source=Northwind.db;Version=3;"/>

Last edited Feb 24, 2010 at 10:48 AM by ewdev, version 3


modma Sep 12, 2013 at 9:09 PM 
any way to do work Enterprise Library 6 Log/ExceptionHandling Logging with SQLite? i'm mad to do work with this.... (the connection with the db is ok, but can't do the log process) i need a script to initialize the db or any thing more?