[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Interacting dynamically with multiple data sources.

Posted on 2004-10-16
2
Medium Priority
?
188 Views
Last Modified: 2010-04-15
Hi!

Our C# desktop application interacts with DB2 using DB2OleDB provider.
I am just curious to know that how can we manage our application to interact with multiple data sources (e.g. SQL Server, Oracle, DB2) dynamically.
What should be the basic methodology to achieve the same and how much changes does one need to make this happen?

I would really appreciate if you can please guide me.

Thanks and regards
Rajesh Khatri
0
Comment
Question by:rj_khatri
2 Comments
 
LVL 4

Accepted Solution

by:
Farshid-Zaker earned 375 total points
ID: 12328847
Hi Rajesh,
Microsoft has published a 5 layer architecture in Petshop sample (downloadable from MSDN site). There are 2 layers for data access in it. One of them is independent of used RDBMS and the other one is dependent. So, if you want to switch from one database to another one, you will make minimum attempt. Microsoft has published 2 implementation for last layer, one for SQL Server and the other for Oracle. (These layers are named IDAL and DAL Factory, I'm not sure about the exact names.) Take a look at these sample.

Farshid
0
 

Author Comment

by:rj_khatri
ID: 12345204
Many thanks Farshid!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month20 days, 2 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question