Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="Concepts.Core"
namespace="Concepts.Core">
<class name="PersonAddress">
<id name ="Id">
<generator class="guid.comb"></generator>
</id>
<property name="Remark"></property>
<property name="IsPostal"></property>
<property name="ValidFrom"></property>
<property name="ValidTo"></property>
<many-to-one name="Person" column="PersonId"/>
<many-to-one name="Address" column="AddressId"/>
</class>
</hibernate-mapping>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment