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
  • 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-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

I knew how to do this but forgot again... Quite irritating, because I'm working
I'm using the same SQL pattern over and over, and I know there has
I have written some matlab code for image analysis that searches for clusters in
Man this JSON thing is chewing away at my day. Is it suppose to
I just recently began in C# development, and I was working on a forms-based
Unsatisfied with my current approach I'm just trying to redesign the way I build
Maybe an over elaborate title. Basically think of an email inbox. I have a
I'm trying to get data from a webpage that serves a XML file periodically
All of a sudden I'm having a bit of an OO crisis. Over the
I've been thinking about an algorithm that should rougly be able to guess the

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.