Skip to content

Instantly share code, notes, and snippets.

@markdchurchill
markdchurchill / simple1.cs
Last active September 20, 2016 05:57
Condense simple sample #1
View simple1.cs
using System.ServiceModel;
using Condense.Core;
namespace SimpleSample.Tiny1
{
[Entity]
public class GuestArrival
{
public string First { get; set; }
public string Last { get; set; }
@markdchurchill
markdchurchill / program.cs
Last active September 29, 2016 10:59
Basic example usage of Condense Light
View program.cs
using System;
using Condense.Core;
using Condense.Light;
namespace DemoApplication
{
[Entity]
public class GuestArrival
{
public string Name { get; set; }
View nhbug.cs
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Cfg.MappingSchema;
using NHibernate.Dialect;
using NHibernate.Driver;
using NHibernate.Mapping.ByCode;