I have the following NHibernate-Objects:
Man inherits from contact Company inherits from Contact
There are three tables: Contact, Person, Company. Each table has a column identifier that is of type Guid.
Now I'm looking for the easiest way to convert a Person object to a company object. The specific record in the contact should remain, and the record in your personal account should be deleted, and instead, create a new record in the company where I write some values.
source
share