Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 301453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:00:25+00:00 2026-05-12T07:00:25+00:00

How can I abstract my database from my application so that it is unaware

  • 0

How can I abstract my database from my application so that it is unaware of the database type?
I have to design a .Net 3.5 WPF application that must support either SQL Server or Visual FoxPro as the data repository.

My design goals are to:

  1. make the type of data repository invisible when writing code in the Data Access Layer
  2. make it as quick and painless as possible to switch between SQL and FoxPro
  3. allow use of both ANSI SQL and stored procedures from the DAL
  4. learning curve must be minimal for other developers joining the project

This will be a WPF application, probably using CSLA.

I have thought about using some kind of ORM but have no experience with this type of technology.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:00:26+00:00Added an answer on May 12, 2026 at 7:00 am

    Many ORMs are DataBase type agnostic, though the FoxPro requirement might restrict your choises or require you to write your own provider or adapter.

    If you want your application to be able to work with multiple DataBase types, say through configuration, you must also be careful that your schemas in each database are compatable and that you don’t depend on features that aren’t implemented in one of the databases or in the ORM you choose.

    The ORM I’m most familiar with LLBLGen Pro supports 5 or 6 back-end databases, but FoxPro is not officially supported. There was a customer contributed FoxPro adapter at one point. I don’t know if it has been maintained.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 157k
  • Answers 157k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=367077 Problem Statement It's possible to write LINQ to SQL… May 12, 2026 at 11:03 am
  • Editorial Team
    Editorial Team added an answer I cannot see why it should be a bad idea.… May 12, 2026 at 11:03 am
  • Editorial Team
    Editorial Team added an answer An assembly is the compiled output of your code, typically… May 12, 2026 at 11:03 am

Related Questions

Okay, I'll be straight with you guys: I'm not sure exactly how Domain Driven
I'm trying to wrap my head about how to properly implement an OOP design
Since I've started using NetBeans, I've learned of some powerful ways to abstract away
My question is how does one abstract a database connection from the model layer
I've factored out common attributes from two classes into an abstract base class, however

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.