Click here to Skip to main content
15,921,716 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
"Unknown entity class: NHibernateDemo.Sample" error in dot net when saving data
Posted

1 solution

Nice question...
It's like to ask "I've here a file with some content. How do you think, is this right content or not?".
Here are some items you can check:
1. Check if you added mapping file to your entities.
2. Check if in your app.config you have in mapping section right assembly.
3. Check if your mapping xml files are compiled as embedded resource.
4. Check NHibernate manual for topic "how to map classes to datatables
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900