Best way to interact with .mdb database?

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

Guest

I've got an MS Access database with around 20 or so tables, all of them
linked by foreign keys with enforced referential integrity. Using
oledbdataadapter, I find that I have to read each table individually into a
dataset, and then build each relation manually, which is quite tedious.
Also, there appear to be some .mdb attributes that do not map directly to an
aspect within the dataset, such as 'indexed (no duplicates)' or 'data
required'.

Basically, I want an object that represents all the rules of my .mdb so that
any violations are caught BEFORE attempting to update the .mdb.

Is there a better method than the oledbdataadapter?
 

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