We have some enumerations and other things in our mappings, and I'm writing
a routine to automatically generate check constraints for enumerated columns
(and I'm also editing Redgate SQL Data Generator to generate values within
the valid range), and using the Configuration object to find all properties
and corresponding types and table/column names has proved to be challenging.

Simple properties are a breeze, but components, and collections (with
composite-element) are a different story.

Has anyone already written this routine to loop through to discover all the
mapped properties to table/columns?  If so, would you mind sharing?


Best regards,
Jeffrey Palermo, Microsoft MVP, MCSD.Net
CTO, Headspring Systems
agile.  software.  consulting.
512-459-2260 x 712

--~--~---------~--~----~------------~-------~--~----~
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