<html dir="LTR" xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:tool="http://www.microsoft.com/tooltip" xmlns:ndoc="urn:ndoc-preprocess">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<title>Introduction</title>
<link rel="stylesheet" type="text/css" href="ndoc.css"> </link>
<link rel="stylesheet" type="text/css" href="user.css"> </link>
<script type="text/javascript" src="ndoc.js"> </script>
</head>
<body style="display: none;">
<input type="hidden" id="userDataCache" class="userDataStyle" />
<input type="hidden" id="hiddenScrollOffset" />
<img id="dropDownImage" style="display:none; height:0; width:0;" src="drpdown.gif" />
<img id="dropDownHoverImage" style="display:none; height:0; width:0;" src="drpdown_orange.gif" />
<img id="collapseImage" style="display:none; height:0; width:0;" src="collapse.gif" />
<img id="expandImage" style="display:none; height:0; width:0;" src="exp.gif" />
<img id="collapseAllImage" style="display:none; height:0; width:0;" src="collall.gif" />
<img id="expandAllImage" style="display:none; height:0; width:0;" src="expall.gif" />
<img id="copyImage" style="display:none; height:0; width:0;" src="copycode.gif" />
<img id="copyHoverImage" style="display:none; height:0; width:0;" src="copycodeHighlight.gif" />
<div id="header">
<table width="100%" id="topTable">
<tr id="headerTableRow1">
<td align="left">
<span id="runningHeaderText">SQLite ADO.NET 2.0 Provider</span>
</td>
</tr>
<tr id="headerTableRow2">
<td align="left">
<span id="nsrTitle">SQLite.NET Class Library Documentation</span>
</td>
</tr>
<tr id="headerTableRow3" style="display:none">
<td>
<a id="seeAlsoSectionLink" href="#seeAlsoToggle" onclick="OpenSection(seeAlsoToggle)">See Also</a>
<a id="exampleSectionLink" href="#codeExampleToggle" onclick="OpenSection(codeExampleToggle)">Example</a>
</td>
</tr>
</table>
<table width="100%" id="bottomTable" cellspacing="0" cellpadding="0" style="display:none">
<tr>
<td>
<span onclick="ExpandCollapseAll(toggleAllImage)" style="cursor:default;" onkeypress="ExpandCollapseAll_CheckKey(toggleAllImage)" tabindex="0">
<img ID="toggleAllImage" class="toggleAll" src="collall.gif" />
<label id="collapseAllLabel" for="toggleAllImage" style="display: none;">
Collapse All
</label>
<label id="expandAllLabel" for="toggleAllImage" style="display: none;">
Expand All
</label>
</span>
</td>
</tr>
</table>
</div>
<div id="mainSection">
<div id="mainBody">
<h1 class="heading">About SQLite.NET</h1>
<p>This class library is an ADO.NET 2.0 wrapper around the popular (and free!)
SQLite database engine. For information on SQL syntax, features of SQLite and a
good understanding of how it works and what it does, I highly recommend heading
over to <a target="_blank" href="http://www.sqlite.org">sqlite.org</a> and
reading the documentation there.</p>
<P>The C# provider, the very minor C code modifications to SQLite, documentation and
etc were written by <A href="mailto:robert@blackcastlesoft.com">Robert
Simpson</A>, and the SourceForge project page can be found <A target="_blank" href="http://sourceforge.net/projects/sqlite-dotnet2">
here</A>.</P>
<DIV>
<br>
</DIV>
<h1 class="heading">What's New?</h1>
<p><a href="version.html">Click here to see the version history of this SQLite.NET
provider</a></p>
<DIV>
<br>
</DIV>
<h1 class="heading">What's Coming Up?</h1>
<p>There's a few things I'm aiming to do in the near future: </p>
<DIV>
<ul>
<LI>
More class documentation and examples. I'll also be integrating a
lot of the documentation from the official <A target="_blank" href="http://www.sqlite.org">
sqlite.org</A> website into the helpfile for quick and easy access.</LI>
<li>Design-time support for DDL, enabling you to create/alter tables, manage indexes
and foreign keys, etc.</li>
</ul>
</DIV>
<br>
<h1 class="heading">Using this library</h1>
<p>The following are links to information on various aspects of the library and
how to use it in your application(s)
</p>
<p><a href="designer.html">How to install Visual Studio Design-Time Support</a></p>
<P><A href="dbfactorysupport.html">How to configure and enumerate SQLite.NET
through the DbProviderFactories object</A></P>
<p><a href="optimizing.html">Getting the best performance out of SQLite</a></p>
<p><a href="limitations.html">Limitations of the SQLite.NET provider and the SQLite
engine (compared to other providers and engines)</a></p>
<br>
<h1 class="heading">SQLite.NET Provider Features</h1>
<p>This SQLite provider implements every feature of the underlying SQLite
database engine without omission. Here's a brief summary:</p>
<UL>
<LI>
Written from scratch on VS2005 specifically for ADO.NET 2.0, implenting all the
base classes and features recently introduced in the framework, including automatic
transaction enlistment.<li>Supports the Full and Compact .NET Framework, as well as
native C/C++ development. 100% binary compatible with the original sqlite3.dll.
</li>
<li>
On the Compact Framework, it is faster than the newly-introduced Sql Server Mobile.
SQLite's installed size is a fraction of Sql Mobile's. It uses less memory at runtime,
runs queries faster, and has a smaller database file size as well. </li>
<li>Encrypted database support. Encrypted databases are fully encrypted and
support both binary and cleartext password types. </li>
<li>Visual Studio 2005 Design-Time Support. You can add a SQLite
database to the Servers list, design queries with the Query Designer,
drag-and-drop tables onto a Typed DataSet, etc. </li>
<li>
Single file redistributable. The core sqlite3 codebase and the ADO.NET wrapper
are combined into one multi-module assembly. </li>
<li>Binaries included for Itanium, x64, x86 and ARM processors. </li>
<li>
DbProviderFactory support. </li>
<li>
Full support for ATTACH'ed databases. Exposed as <i>Catalogs</i>
in the schema. When cloning a connection, all attached databases are
automatically re-attached to the new connection. </li>
<li>
DbConnection.GetSchema(...) support includes the <i>MetaDataCollections</i>, <i>
DataSourceInformation</i>, <i>Columns</i>, <i>Tables</i>, <i>Views, ViewColumns, </i>
<i>Catalogs, </i><i>Indexes,
IndexColumns </i>and <em>ForeignKeys</em>
keywords.
</li>
<li>
Enhanced DbDataReader.GetSchemaTable() functionality returns catalog, namespace
and detailed schema information even for complex queries. </li>
<li>
Named and unnamed parameters. </li>
<li>
Full UTF-8 and UTF-16 support, each with optimized pipelines into the native
database core. </li>
<li>
Multiple simultaneous DataReaders (one DataReader per Command however). </li>
<li>
Full support for user-defined scalar and aggregate functions, encapsulated into
an easy-to-use base class in which only a couple of overrides are necessary to
implement new SQL functions. </li>
<li>
Full support for user-defined collating sequences, every bit as simple to
implement as user-defined functions and uses the same base class. </li>
<li>
Full source for the entire engine and wrapper. No copyrights.
Public Domain. 100% free for commercial and non-commercial use. </li>
</UL>
<br>
<h1 class="heading">Distributing the Binaries</h1>
<p><b>System.Data.SQLite.DLL</b> is a mixed assembly signed with a strong name
in case you want to add it to the Global Assembly Cache (GAC). This is the only DLL required to be redistributed with
your SQLite.NET application(s). It
comes in 4
flavors: Win32, Itanium, X64 (AMD64) and ARM (Compact Framework). The Compact
Framework library is signed with a separate strong name, but all the other
versions share the same strong name so they can be interchanged where appropriate without
any change to your application.</p>
<hr />
<div id="footer">
<p>
<a href="mailto:robert@blackcastlesoft.com?subject=SQLite%20ADO.NET%202.0%20Provider%201.0.0.0%20Documentation%20Feedback:%20Welcome">Send comments on this topic.</a>
</p>
<p />
<p />
</div><!--[if gte IE 5]><tool:tip element="seeAlsoToolTip" avoidmouse="false" /><tool:tip element="languageFilterToolTip" avoidmouse="false" /><![endif]--> </div>
</div>
</body>
</html>