Coder Social home page Coder Social logo

aarnott / sqlite-net-wp8 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peterhuene/sqlite-net-wp8

0.0 2.0 1.0 334 KB

A C++/CX wrapper for SQLite functions that sqlite-net depends on. Can be used as an alternative to csharp-sqlite on Windows Phone 8. This library is released under the MIT license.

License: MIT License

C++ 72.61% C 27.39%

sqlite-net-wp8's Introduction

sqlite-net-wp8

A C++/CX wrapper for SQLite functions that sqlite-net depends on.

This library can be used to directly call into sqlite3.dll on Windows Phone 8 from sqlite-net.

Requirements

  • Visual Studio 2012
  • Windows Phone 8.0 SDK
  • SQLite for Windows Phone (install via the "Tools -> Extensions and Updates" menu item in Visual Studio).

Remarks

This library is intended to be used with sqlite-net.

However, sqlite-net currently won't work with this library as it has a dependency on csharp-sqlite (a reimplementation of SQLite in C#) instead of this library.

Use my fork of sqlite-net that does depend on this library. There is a pending pull request on the upstream sqlite-net for these changes,

Using sqlite-net-wp8

  • Clone or copy the sqlite-net-wp8 source files into your solution directory.
  • Add the Sqlite.vcxproj project to your solution (File -> Add -> Existing Project).
  • From your Windows Phone project, add a project reference to the Sqlite project (Project -> Add Reference -> Solution -> Projects).
  • Clone or copy the sqlite-net source files (src/SQLite.cs and src/SQLiteAsync.cs) into your Windows Phone project.
  • Add "USE_WP8_NATIVE_SQLITE" as a conditional build symbol to your project containing the sqlite-net source files (without this, SQLite will use csharp-sqlite):
    • Project -> Properties
    • Click on the Build tab.
    • In the "Configuration" dropdown, select "All configurations".
    • In the "Platform" dropdown, select "All platforms".
    • Append ";USE_WP8_NATIVE_SQLITE" to the "Conditional compilation symbols" textbox.
  • Use sqlite-net as you normally would.

sqlite-net-wp8's People

Contributors

aarnott avatar peterhuene avatar rciovati avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.