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 6081987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:14:18+00:00 2026-05-23T11:14:18+00:00

I have a data warehouse system that relies on LINQ to SQL for its

  • 0

I have a data warehouse system that relies on LINQ to SQL for its database abstraction.

To cut a long story short, I have a 2011 database which contains many records for this year, I also have a database for each of 2009 and 2010.

These are all located on different servers, but it does not seem to be a problem to have classes within my dbml from different servers.

The problem I have, is that there is table overlap between the two, for example, there is for example a list of customers in both databases. I don’t want to have two customer classes in my LINQ to SQL generated code, but would much rather have some sort of inheritance.

I’m struggling to explain the problem maybe, can someone offer any help with how I can have a single class representing multiple tables? I would like to stick to DRY principles.

AK

  • 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-23T11:14:18+00:00Added an answer on May 23, 2026 at 11:14 am

    I think if both database have same table structure, you don’t need two classes for both, only the connection string will decide which database the class belongs to.

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

Sidebar

Related Questions

I have data from a table in a database (string) that contain text and
I have one data warehouse table that contain one row for each item sold.
we have intra-day Data Warehouse loads through the day (using SSIS, SQL Server 2005).
I have a complex Task flow that in general creates data warehouse content from
I have got a normalized transactional database. I am setting up a data warehouse
I have an OLTP database, and am currently creating a data warehouse. There is
I have a data warehouse containing typical star schemas, and a whole bunch of
I currently work in the position of Data Warehouse programmer and as such have
I have data in a MySQL database. I am sending the user a URL
I have data coming from the database in the form of a DataSet .

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.