Invalid image

CouchN



Sample usages:

using (var session = new TemporarySession())
{
var testObject = new TestDoc { Text = "hello world" };

var result = session.Get("test");

Assert.That(result, Is.Null);

var info = session.Save(testObject, "test");

testObject.Text = "hello world chagned";

session.Save(testObject);

testObject.Text = "hello world changed";

info = session.Save(testObject);

testObject.Text = "hello world changed 2";

session.Save(testObject, info);

session.Delete(testObject);

result = session.Get("test");

Assert.That(result, Is.Null);
}

also supports some design document helpers (views and updates)
e.g.
session.Design("test").ViewDocs("test", track: true);
string result = session.Design("test").Update("test", testObject);.

Info

Version: 0.2.0.7
Author(s): Mark Kemper
Last Update: Saturday, July 4, 2015
.NET Fiddle:
Project Url: http://github.com/markkemper1/CouchN
NuGet Url: https://www.nuget.org/packages/CouchN


Install
Install-Package CouchN
dotnet add package Z.EntityFramework.Plus.EF6
paket add CouchN
CouchN Download (Unzip the "nupkg" after downloading)








STATS

must-have-score

1.4


avg-downloads-per-day

6


days-since-last-release

898