Getting Exception to Get record by ID using NHibernate

Posted by Muhammad Akhtar on Stack Overflow See other posts from Stack Overflow or by Muhammad Akhtar
Published on 2010-04-06T11:57:22Z Indexed on 2010/04/06 13:13 UTC
Read the original article Hit count: 259

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about nhibernate