I DO start with the domain objects (or really their tests). In an ideal
scenario, the database comes next from SchemaExport()).
Anything else I might need would be generated from the domain objects, but
if I don't need DTOs I don't see any need to complicate things further.
Cheers,
Richard
--------------------------------------------------
From: "Greg Young" <[email protected]>
Sent: Thursday, February 05, 2009 5:03 PM
To: <[email protected]>
Subject: [nhusers] Re: Should I use NHibernate+WCF?
>
> see qualification "If you are heads down coding CRUD stuff"
>
> Why not define it in metadata and generate everything?
> Why not generate from the database?
> Why not go another way and create your domain class then generate
> everything else?
>
> simple CRUD ... the models are all the same it doesn't matter which
> one you start with.
>
> Greg
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---