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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:04:08+00:00 2026-05-13T23:04:08+00:00

This is probably quite simple, but I just don’t know how to do this…

  • 0

This is probably quite simple, but I just don’t know how to do this…

I have a reasonable complex SQL Server database containing multiple schema’s for data and a generic view to provide information over all those views. (Basically, it lists all extended properties of all schema’s.) This setup cannot be changed since every schema is specific for one single office, while the whole database contains all company data.

I’m using the Entity framework to connect to all the data inside those schema’s and to link them together. This makes it easy to retrieve whatever data I need. Thus, the configuration file contains one connection string for the entity framework.

I’m also using a single report to create a matrix overview of all the schema data. This is a matrix based on a view with three fields: Schemaname, field and value. The report puts the schemaname vertical as row-header, fieldname horizontal as column header and the value in the cells. But this report uses it’s own connection string in the configuration.

I need both to share the same connection! Or at least the same connection string in the configuration. What options do I have?

  • 1 1 Answer
  • 2 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-13T23:04:08+00:00Added an answer on May 13, 2026 at 11:04 pm

    It’s trivial to retrieve the DB connectionstring from the EF connectionstring. Use EntityConnectionStringBuilder to parse it. You can also supply a connection to an EF context.

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

Sidebar

Related Questions

This is probably quite simple to do.. but I just can't think of how
This is probably a really simple thing, but I don't know how to implement
This is probably a really simple question but one I've never quite worked out
I know this probably really simple but Im not sure what im doing wrong...
This is probably quite simple but I've googled and can't find an answer. I
This is probably quite simple but I haven't yet been able to wrap my
This is probably pretty simple but I'm not quite sure how to implement it.
This is probably quite simple but I'm currently a git noob and haven't quite
It should quite simple algorithm, but I just can't get around it. I have
This is probably something really simple, however I am quite new to PHP, and

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.