protected override void OnSetUp()
 {
     base.OnSetUp();
     using (ISession session = this.OpenSession())
     {
         DomainClass entity = new DomainClass();
         entity.Id = 1;
         entity.ByteData = new byte[] {1, 2, 3};
         session.Save(entity);
         session.Flush();
     }
 }
 protected override void OnSetUp()
 {
     base.OnSetUp();
     using (ISession session = this.OpenSession())
     {
         DomainClass entity = new DomainClass();
         entity.Id       = 1;
         entity.ByteData = new byte[] { 1, 2, 3 };
         session.Save(entity);
         session.Flush();
     }
 }