Quick-Start Guide

Installation

1- Download from here or Nuget Package manager
2- Add reference in your solution
3- Download Sqlite3.dll referent to your project from https://www.sqlite.org/download.html
4- Copy Sqlite3.dll to your project page

Using SQLiteDictionary

Initialize a new SQLiteDictionary and add a new entry

    SqliteDictionary<string, string> StringData = new SqliteDictionary<string, string>("MySettings");
    StringData.Set("MyVarKey", "ThisIsAValue");

Value is stored in a SQLite database located in the application folder, you can use also a path (e.g. @"c:\myDB\MySettings")

Read a value from a SQLiteDictionary

    SqliteDictionary<string, string> StringData = new SqliteDictionary<string, string>("MySettings");
    string data = StringData["MyVarKey"];

Value is read from a SQLite database located in the application folder, you can use also a path (e.g. @"c:\myDB\MySettings")

Last edited May 24, 2013 at 9:34 AM by Davidblkx, version 4

Comments

No comments yet.