MappingException: No persister for - NHibernate - Persisting an Adapter [duplicate]
问题 This question already has answers here : NHibernate.MappingException: No persister for: XYZ (15 answers) Closed 5 years ago . Well, I googled a lot, and found the same advices all there (set hbm as Embedded Resource, add hbm at hibernate.cfg, etc..), and despite of them, I still not get it. Let me explain: I wrote a Communication Dll for a ticket gate device, and there I have a configuration model class, that I use to configure that device through TCP/IP. But now, I have to persist this