marcucio/Cordova-WP-SqlitePlugin

Issue with Community.CsharpSqlite

Opened this issue · 0 comments

Iam using SQLite 3.8.5 and sqlite-net 1.0.8 in Visual Studio 2012 Express Win Phone,SQLite

if WINDOWS_PHONE && !USE_WP8_NATIVE_SQLITE

define USE_CSHARP_SQLITE

endif

using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;

if USE_CSHARP_SQLITE

using Sqlite3 = Community.CsharpSqlite.Sqlite3;
using Sqlite3DatabaseHandle = Community.CsharpSqlite.Sqlite3.sqlite3;
using Sqlite3Statement = Community.CsharpSqlite.Sqlite3.Vdbe;

elif USE_WP8_NATIVE_SQLITE

using Sqlite3 = Sqlite.Sqlite3;
using Sqlite3DatabaseHandle = Sqlite.Database;
using Sqlite3Statement = Sqlite.Statement;

else

using Sqlite3DatabaseHandle = System.IntPtr;
using Sqlite3Statement = System.IntPtr;

endif