NHibernate.MappingException: No persister for: XYZ

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

    I had the same problem because I was adding the wrong assembly in Configuration.AddAssembly() method.

提交回复
热议问题