public void ReadWrite()
		{
			Int64 id;
			ISession s = OpenSession();
			HiLoInt64Class b = new HiLoInt64Class();
			s.Save(b);
			s.Flush();
			id = b.Id;
			s.Close();

			s = OpenSession();
			b = (HiLoInt64Class) s.Load(typeof(HiLoInt64Class), b.Id);
			Assert.AreEqual(id, b.Id);
			s.Delete(b);
			s.Flush();
			s.Close();
		}
        public void ReadWrite()
        {
            Int64          id;
            ISession       s = OpenSession();
            HiLoInt64Class b = new HiLoInt64Class();

            s.Save(b);
            s.Flush();
            id = b.Id;
            s.Close();

            s = OpenSession();
            b = (HiLoInt64Class)s.Load(typeof(HiLoInt64Class), b.Id);
            Assert.AreEqual(id, b.Id);
            s.Delete(b);
            s.Flush();
            s.Close();
        }
        public async Task ReadWriteAsync()
        {
            Int64          id;
            ISession       s = OpenSession();
            HiLoInt64Class b = new HiLoInt64Class();

            await(s.SaveAsync(b));
            await(s.FlushAsync());
            id = b.Id;
            s.Close();

            s = OpenSession();
            b = (HiLoInt64Class)await(s.LoadAsync(typeof(HiLoInt64Class), b.Id));
            Assert.AreEqual(id, b.Id);
            await(s.DeleteAsync(b));
            await(s.FlushAsync());
            s.Close();
        }