On Apr 6, 11:30 pm, Fabio Maulo <[email protected]> wrote:
> 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-mappin...
I like this approach. Seems interesting. I don't like the way that it
still generates an xml file.
>
> or why not avoid any kind of
> mappinghttp://fabiomaulo.blogspot.com/2008/11/mapping-source-how-map-class-w...
>
This seeems just like the "Fluent" nhibernate project. Writting all
the wiring that can be done for me already.
> The class has not enough info to be efficiently represented in the
> persistence... yes probably... so why not write all artifact starting from
> your DSLhttp://www.codeplex.com/ajgenesis
Sorry, I don't understand this approach. It seems way more complicated
then I need it to be.
> or why not ORuM ?
Whats ORuM?
> or why not db4o ?
I don't think db4o is used through nHibernate, is it? I don't think
object db is fast enough to switch to it yet.
Thank you for all your suggestions. However I was thinking of
something more along these lines:
http://docs.djangoproject.com/en/dev/topics/db/models/#quick-example
Granted, it is the web-framework that does most of the work there. So
I guess I am looking for a tool integrated with a web-framework that
would bind the nhibernate automatically for me. I mean the
activerecord in django does All of the db schema creation that I need,
and configures it automatically for me.
Forgive my blaberring, I am just curious.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---