Skip to content

Instantly share code, notes, and snippets.

@chester89
Created July 23, 2013 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chester89/6066142 to your computer and use it in GitHub Desktop.
Save chester89/6066142 to your computer and use it in GitHub Desktop.
hbm resulting xml from a user type mapping
<joined-subclass name="FluentNHibernate.Testing.FluentInterfaceTests.Image, FluentNHibernate.Testing, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" table="[ImageInfo]">
<key>
<column name="[Guid]" />
</key>
....
<property access="field.camelcase" name="Contexts" type="FluentNHibernate.Testing.FluentInterfaceTests.ImageContextsUserType, FluentNHibernate.Testing, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null">
<column name="IsIcon" not-null="true" />
<column name="IsPromo" not-null="true" />
<column name="IsWallpaper" not-null="true" />
<column name="IsPlaceholder" not-null="true" />
</property>
</joined-subclass>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment