Example #1
0
 protected override void OnSetUp()
 {
     base.OnSetUp();
     using (ISession session = OpenSession())
     {
         var entity = new DomainClass();
         entity.Id          = 1;
         entity.BooleanData = true;
         session.Save(entity);
         session.Flush();
     }
 }
Example #2
0
		protected override void OnSetUp()
		{
			base.OnSetUp();
			using (ISession session = OpenSession())
			{
				var entity = new DomainClass();
				entity.Id = 1;
				entity.BooleanData = true;
				session.Save(entity);
				session.Flush();
			}
		}