Skip to content

Instantly share code, notes, and snippets.

@vietnt
Created June 23, 2012 03:37
Show Gist options
  • Save vietnt/2976707 to your computer and use it in GitHub Desktop.
Save vietnt/2976707 to your computer and use it in GitHub Desktop.
transaction_specs
post.View = 0
using (var t = root.NewTransaction())
{
post.View++;
Assert.AreEqual (1, post.View);
}
Assert.AreEqual(0, post.View);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment