NHibernate.MappingException: No persister for: XYZ

后端 未结 16 1085
天命终不由人
天命终不由人 2020-12-01 03:24

Now, before you say it: I did Google and my hbm.xml file is an Embedded Resource.

Here is the code I am calling:

16条回答
  •  盖世英雄少女心
    2020-12-01 04:02

    My issue was that I forgot to put the .hbm in the name of the mapping xml. Also make sure you make it an embedded resource!

提交回复
热议问题