In this chapter, we will discuss the NHibernate session object which is used to communicate with the database.
In this chapter, we shall:
So let's get on with it.
Sessions and transactions are two of the most important objects that the NHibernate framework provides. Through a session object, we are able to communicate with a database and execute various operations on it. A transaction object, in turn, gives us an instrument at hand, which makes managing multiple operations ...