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

  • SEARCH
  • Home
  • 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 8982177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:31:13+00:00 2026-06-15T20:31:13+00:00

I have an application that depends on a dll (named datalib) intended to store

  • 0

I have an application that depends on a dll (named datalib) intended to store data in xml format.

There is a tight couple between my app and that dll.

All over the code my app retrieve data using that dll in this manner:

var data = datalib.Parameters.HostAddress;

I want my app to have an ability for replacement of data source (for instance to SQL Server database).

For unfortune, my app within it’s business logic convey strongly typed objects from datalib to other modules which depends on datalib tightly to.

What possible ways are available in my situation to achieve the ability for replacement of data source? Am I need to create my own domain layer with the ability to map it’s entities to datalib’s entities?

  • 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-06-15T20:31:14+00:00Added an answer on June 15, 2026 at 8:31 pm

    Suggest reading up on these concepts from the below links and elsewhere:

    1. Repository Pattern
    2. Data Mapper

    Essentially, you want to achieve loose coupling around the external data access library (datalib.dll). This could be achieved in many ways – from a simple DataAccess class to more extensible Repository type factory classes.

    You would have to make that choice, based on the cost vs. benefits in each approach.
    Hope this helps.

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

Sidebar

Related Questions

We currently have an application that depends largely on stored procedures. There is a
I have an application that depends on other .net assemblies. When I start the
I have a general question that is rather open-ended (i.e. depends on platform, application
The scenario is the following: Lets say I have this application App that depends
I have an application which depends on PyGTK, PyGobject, and PyCairo that I built
I have an application and a dll it depends upon, which, in their csproj
I have an old VB6 application that depends on MSINET.OCX. I'd like to know
I developed an application that depends on a DLL file. When I debug my
I have a 32 bit .Net application winform that invokes a C++ dll. We
We have an application that depends on a number of groups of third-party DLLs.

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.