Using Nhibernate subclass, we can easily bring the inheritance into model.In the real time business object models are making use of OOPS concepts and Lets see how we can map the object to data structure of SQL. Subclass and discriminator really help us to avoid one to one mapping of object to SQL table.See below…