NHibernate.MappingException: No persister for: XYZ

后端 未结 16 1072
天命终不由人
天命终不由人 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 03:57

    Spending about 4 hours on googling and stackoverflowing, trying all of stuff around there, i've found my error:

    My mapping file was called .nbm.xml instead of .hbm.xml. That was insane.

提交回复
热议问题