Hi,

I hope this problem sounds familiar

I had a single (demo) console application where I have everything I'll
normally move out to separate projects, using nHibernate (Fluent
Configuration) to save to the  database.  All worked fine.

I then added a class library to the solution, moved my domain folder
(all my entities) and my "services" folder (service contracts) out to
that project.  Changed the namespaces, fixed the references, nothing
else.

>From then things does not work anymore and I got a "No persister for:
krok.blog.Domain.Post" error each time I hit
"session.SaveOrUpdate(input);"  (where input is an instance of a
domain model, "Post" in this case.

Again, I am 100% sure all worked fine until I moved out the domain
models and that's the only change that have been made.

 Cheers,
Krok

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to