Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 66 lines (48 sloc) 4.167 kb
54ae273 @lanwin Update readme.markdown
authored
1 > ***I havent any plan to update that code to a nerwer version, since I have no compact device anymore and in my spare free time there are enought other projects. So feel free to send a pullrequest if you want a newer version.***
2
29381bb @lanwin Initial commit.
authored
3 sqlite-net .Net Compact Framework Port
4 ==============
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
5 This is a port of sqlite-net http://code.google.com/p/sqlite-net to Microsoft .Net Compact Framework.
29381bb @lanwin Initial commit.
authored
6
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
7 Compact Framework has some interop limitations so it can not run sqlite-net out of the box (in example long or double as return types are not supported).
29381bb @lanwin Initial commit.
authored
8
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
9 First Compact Framework has no System.Linq.Expressions. This issue can be solved since db4o has ported the Mono Linq.Expressions to Compact Framework. https://source.db4o.com/db4o/trunk/db4o.net/Libs/compact-3.5/System.Linq.Expressions/
29381bb @lanwin Initial commit.
authored
10
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
11 Second you need a special version of sqlite3.dll which has special interop for Compact Framework. A lot of that code is provided by the SQLite DataProvider from http://sqlite.phxsoftware.com/, but it dose not have the required sqlite3_last_insert_rowid_interop function, so ive created a fork of it here, unter Sqlite3.
29381bb @lanwin Initial commit.
authored
12
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
13 Ive also added a simple dll project which uses the sqlite.cs file from root and creates an assembly from it, for all people which dose not want to include the cs file directly.
29381bb @lanwin Initial commit.
authored
14
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
15 About sqlite-net
16 ==============
17 Homepage: http://code.google.com/p/sqlite-net
29381bb @lanwin Initial commit.
authored
18
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
19 sqlite-net is an open source, minimal library to allow .NET and Mono applications to store data in SQLite 3 databases. It is written in C# 3.0 and is meant to be simply compiled in with your projects. It was first designed to work with MonoTouch on the iPhone, but should work in any other CLI environment.
29381bb @lanwin Initial commit.
authored
20
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
21 sqlite-net was designed as a quick and convenient database layer. Its design follows from these goals:
29381bb @lanwin Initial commit.
authored
22
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
23 * Very easy to integrate with existing projects and with MonoTouch projects.
24 * Fast and efficient.
25 * Methods for executing queries safely (using parameters) and for retrieving the results of those query in a strongly typed fashion.
26 * Linq support so that you don't have to write SQL (see LinqSupport).
27 * Works with your data model without forcing you to change your classes. (Contains a small reflection-driven ORM layer.)
28 * It has 0 dependencies aside from a compiled form of the sqlite3 library.
29381bb @lanwin Initial commit.
authored
29
30 Non-goals include:
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
31 * Not an implementation of IDbConnection and its family. This is not a full SQLite driver. If you need that, go get System.Data.SQLite or csharp-sqlite.
29381bb @lanwin Initial commit.
authored
32
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
33 sqlite-net license
34 ============
35 Copyright (c) 2009-2010 Krueger Systems, Inc.
36
37 Permission is hereby granted, free of charge, to any person obtaining a copy
38 of this software and associated documentation files (the "Software"), to deal
39 in the Software without restriction, including without limitation the rights
40 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
41 copies of the Software, and to permit persons to whom the Software is
42 furnished to do so, subject to the following conditions:
43
44 The above copyright notice and this permission notice shall be included in
45 all copies or substantial portions of the Software.
46
47 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
48 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
49 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
50 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
51 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
52 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
53 THE SOFTWARE.
54
55 Compiling Sqlite3
29381bb @lanwin Initial commit.
authored
56 ============
55ea97f @lanwin Add missing System.Linq.Expressions.dll.
authored
57 To compile Sqlite3 you need the Visual Studio 2008 C++ compiler. It dose not contains the sqlite source code. So you have to download the latest source version from http://sqlite.org/download.html and extract it to Sqlite3/Sources/splitsource.
29381bb @lanwin Initial commit.
authored
58
59 Issues
60 ============
61 If you found issues and think they are coming from Compact Framework port, then you can put them in to the issue tracker here. All others you can report here http://code.google.com/p/sqlite-net
62
63 Ported from
64 ============
54ae273 @lanwin Update readme.markdown
authored
65 - Steve Wagner (lanwin)
Something went wrong with that request. Please try again.