I am aware you can use HbmSerializer.Default.Serialize("Mappings",
System.Reflection.
Assembly.GetExecutingAssembly()) to create mapping files in a
'Mappings' folder for your domain classes.
However, this requires using attributes on your classes.

Does anyone know of (or where there is a list of) utilities for
creating mapping files from a domain model (making assumptions about
the database schema), or whether there is a function within
NHibernate.dll to do this?

Ideally I would like to create a domain model and then generate the
mapping files, edit as appropriate and then include them in my project
(rather than creating from scratch).
--~--~---------~--~----~------------~-------~--~----~
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