Using NH 2.0, I have a custom type. It is composed of four properties,
so I implemented ICompositeUserType. I want to specify length and
precision for the string and decimal properties within the user type,
to avoid specifying it with every usage in the mapping files.

But there is only a PropertyTypes property to implement, which return
IType. Funny is, that the IUserType has a SqlTypes property,
ICompositeUserType does not. Do I have to implement both interfaces?
Do I have to implement a user type to wrap each sql-type I want to
specify? Or how can I specify the Sql type for a composite user type?
Thank a lot.
--~--~---------~--~----~------------~-------~--~----~
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