Hi,

I have a user type for saving types as Json, called JsonType<T>.

I also have a Mail class, with an ToAddresses property of type
string[].

I want to map this using .hbm.xml, but if I do this in the entity
mapping file:

<typedef class="Test.JsonType`1[System.String[]], Test" name="json" />

It fails with:

NHibernate.MappingException : Could not compile the mapping document:
Test.Mappings.Mail.hbm.xml
  ----> NHibernate.Util.ParserException : The brackets are unbalanced
in the type name: [ystem.String[, Test]

How can I map this type successfully?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to