Original version of src/wp8/SQLitePlugin.cs by @marcucio