Monday, September 17, 2012

NHibernate.MappingException: No persister for:



This can have at least the following reason:
You may forget du add for example HasMany for the persisting class to make a relationship.

 HasMany(x => x.myTableId).KeyColumn("mytableID");


No comments:

Post a Comment