Skip to content

Instantly share code, notes, and snippets.

@johnathan-sewell
Created July 28, 2011 21:39
Show Gist options
  • Save johnathan-sewell/1112641 to your computer and use it in GitHub Desktop.
Save johnathan-sewell/1112641 to your computer and use it in GitHub Desktop.
Bare bones NHibernate mapping for Lexikon word
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="lexikon.console"
namespace="lexikon.console.domain">
<class name="Word">
<id name="Id">
<generator class="native"></generator>
</id>
<property name="Text"></property>
<property name="Language"></property>
</class>
<!-- more mapping info here -->
</hibernate-mapping>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment