2009/4/6 drozzy <[email protected]> > > Or perhaps is there a way to automatically map a field with a name > "Foo" to a respective field "Foo" in the database? >
If the world of ORM would so simple... but in our world you may have 1 property mapped to 2 fields. 5 classes mapped to 1 table. or the same 5 classes mapped to 5 tables. or the same 5 classes mapped to 3 tables. an object graph mapped to 1 field. .... .... Yaml... why Yaml and not another DSL ? http://www.felicepollano.com/post/A-textual-DSL-for-NHibernate-mapping.aspx or why not avoid any kind of mapping http://fabiomaulo.blogspot.com/2008/11/mapping-source-how-map-class-without.html The class has not enough info to be efficiently represented in the persistence... yes probably... so why not write all artifact starting from your DSL http://www.codeplex.com/ajgenesis or why not ORuM ? or why not db4o ? -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
