NH contains built-in solutions for XML fields:
"NHibernate.Type.XDocType" for mapping System.Xml.Linq.XDocument
&
"NHibernate.Type.XmlDocType" for mapping System.Xml.XmlDocument

And then to use that we can define:
Property(x => x.Criteria, x => x.Type<XmlDocType>());
or
Map(x => x.Property).CustomType<XmlDocType>();

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to