public FetchJoinScenario(ISessionFactory factory) { this.factory = factory; using (ISession s = factory.OpenSession()) { using (ITransaction t = s.BeginTransaction()) { var entity = new Derived2 { ShortContent = "Short", LongContent = "LongLongLongLongLong", }; s.Save(entity); t.Commit(); } } }