Nhibernate keep two Mapping for a single object

Asked

Viewed 27 times

1

i would like to keep two different mappings for a single object is possible to do this with Nhibernate?

  • are you using the Fluent-nhibernate? and have how to put a minimum example?

  • 1

    Yes, I am using Fluent, the big problem is happening because I need to maintain connection with 3 databases, so I thought to create a single object for all of them, and create a Mapping for each database, the problem is that this is not working well, He gets lost and uses the wrong Mapping for the bank. I will try to provide an example to illustrate better

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.