Hey there.
I'm planning on writing a giude/tutorial thing on o/r mappers, and how to use llblgen. The idea is to use this internally for developers yet to use llblgen.
One question I have been asked a few times by developers when i talk about or mappers is:
But don't you have to design your database differently when you use them?
Now obviously you dont need to design your database completely differently. You do however need to concentrate more on the db design, which is always a good thing, but I was wondering if there are key design decisions that might be influenced if you are using a or mapper.
As an example. We have "policy" records, in a policy table. There policy records are associated in a 1:m way with a number of things (e.g. sites, users, roles, etc). In some cases we ended up with a situation where associations could exist between 8 other things. To remove the need for 8 link tables, we had one table, called Policy_RelatedItem. Its fields were Policy_ID, Related_ID, and Related_Key. This last field allowed us to tell "with what" the associated was. It worked great for us previously...but now that we want to use or mappers, its not the ideal solution at all, and makes the relationshios hard to define etc...
I'd love to hear people's thoughts on this...should db design be affected by the choice to use llblgen? I know I saw some related blogs about this, so i'll try to dig those out....
Thanks!