just wondering why

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,

i was wondering why I've seen articles similar to the following:

ADO.NET Code Generator - Map DataBase Objects To .NET Classes

What does this subject accomplish? Like, this does this instead of doing
what? Please also give me an anology if possible.

thanks,
rodchar
 
Relational database structures often don't match the objects that consume
their data in a completely clean manner.ORM tools intend to bridge that gap.
Take a Customer object that has multiple Phone numbers associated with it -
in a rdmbs you may have a customers table with a key to a phonenumbers table
and some indicator to differentiate between the phone types - ie cell, home,
business etc. There are a few different ways you could model this with
objects and ORM mappers are used to bridge this.
 
Could you please expand on your phone numbers example to futher explain how
ORM mappers bridge the gap? I'm still kinda lost in the gap. I apologize for
not getting it on the first try.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top