Hi All, After deploying ( and personally use ;) ) the hbm2net with T4, I decided to try to do something for the reverse engineering too. The works will probably end in some sort of wizard that will drive the process in order to customize some critical point in the generation. I will not use T4 in this generator, just because serializing the classes derived from the mapping xsd is safer ( in order to me). Customization will be based in strategies and rules in configuration. ( You will find a first, unusable drop of the code, in the trunk near to hbm2net) Well, even if I did in the past such as a tool for internal purposes, I would like to do something more general. So I hope you have suggestions for me. First problem I'm facing is: discovering the primary key ( yes, I'm in the early stage ). I'm using the IDataBaseSchema facility of NHibernate to browse the DB metadata, but I can't find at that level any useful information for that ( well, the index looks interesting ), but not a deterministic way. Do I have to create some sort of strategy based on, for example, configurable naming strategy? Any idea ? Thanks in advance, Felix
-- You received this message because you are subscribed to the Google Groups "NHibernate Contrib - Development Group" 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/nhcdevs?hl=en.
