Skip to content

yanghuan/unqlite-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unqlite-net

UnQlite binding for .Net

Sample

UnQLite unqlite = new UnQLite("test.db", UnQLiteOpenModel.Create | UnQLiteOpenModel.ReadWrite);

unqlite.Save("key", "value");           
string value = unqlite.Get("key");      
Contract.Assert(value == "value");
unqlite.Remove("key");

//Batch save
using(var transaction = unqlite.BeginTransaction()) {
    unqlite.Save("key1", "value1");
    unqlite.Save("key2", "value2");
    unqlite.Save("key3", "value3");
}

unqlite.Close();

Installation

NuGet

https://www.nuget.org/packages/unqlite-net/

Install-Package unqlite-net

License

Apache 2.0 license.

About

UnQlite binding for .Net

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages