Getting Exception to Get record by ID using NHibernate
- by Muhammad Akhtar
hello dear,
I am new to Nhibernate, I am trying to get record by ID and I am getting exception
Unknown entity class: DAL.Product
here is my line of code where I am getting exception..
Repository.Get<Product>(id);
What could be the issue?
Thanks for your help.