internal override void RunRecipe() { LogEnabled = false; ProductModel.AddBaseData(SessionFactory); LogEnabled = true; AddData(SessionFactory); SessionFactory.Statistics.Clear(); Run(SessionFactory); using (var session = SessionFactory.OpenSession()) { using (var tx = session.BeginTransaction()) { Run(session); tx.Commit(); } } }