protected override void OnSetUp() { using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { Aggregated agg = new Aggregated(); agg.AByte = 10; agg.AShort = 20; agg.AnInt = 30; agg.ALong = 40; agg.AFloat = 50.5f; agg.ADouble = 60.6; agg.ADecimal = 70.707m; s.Save(agg); tx.Commit(); } }