CouchN NuGet Package

Sample usages:

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

var result = session.Get<TestDoc>("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<TestDoc>("test");

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

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




Got any CouchN Question?





Info

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


Install
Install-Package CouchN
dotnet add package CouchN
paket add CouchN
CouchN Download (Unzip the "nupkg" after downloading)





STATS

must-have-score

.3

avg-downloads-per-day

9

days-since-last-release

3430