In my dotnet api application I have some functionality which is supposed to store some records to the database using NHibernate and IUnitOfWork. I have the following tables: