Windows Application and Data Layer design

N

newbie

Hello,

If I have posted the question in the wrong group, I apologize.

I am building a windows application (in c#) that will be interacting
with an existing Access database. This database will eventually be
upgraded to SQL Server 2000. Current applications (C++Builder) that
interact with that database have the GUI and database access
tightly-coupled. This has led to many issues that are often discussed
in newsgroups.

I have read many threads that suggest creating a database or data
layer to separate database access from the GUI, and I agree with many
of the benefits this provides.

Questions or issues I have:
- Do I create a single class that contains methods for retrieving
data?
- Do I create a group of classes to retrieve data divided into
logical groups (i.e. User class, System class)

Regardless of the class structure
- Do the methods return collection of objects or do they return
datasets?

Thanks,

new2c#
 
N

newbie

Hey Darin,

Thank you very much. Your response was extremely helpfully. Lots to
read and learn (and try).

newbie
 

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

Top