Beispiel #1
0
        protected override void OnSetUp()
        {
            base.OnSetUp();

            using (var session = OpenSession())
                using (var tx = session.BeginTransaction())
                {
                    var entity = new NH3149Entity();
                    session.Save(entity);
                    tx.Commit();
                }
        }
Beispiel #2
0
		protected override void OnSetUp()
		{
			base.OnSetUp();

			using (var session = OpenSession())
			using (var tx = session.BeginTransaction())
			{
				var entity = new NH3149Entity();
				session.Save(entity);
				tx.Commit();
			}
		}