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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:57:16+00:00 2026-06-04T05:57:16+00:00

I have an Entity called Product, this entity, through table mapping, merges 6 tables

  • 0

I have an Entity called “Product”, this entity, through table mapping, merges 6 tables that have a 1 to 1..0 relationship with “Products”. This all works wonderfully. There is another property I want to add to “Products”, which is sBBR_rate, this value is not in a table that has a direct 1 to 1..0 relationship, it is related through a link table as below:

SQL server diagram

When I import the two tables into the EDM, I can’t see a way in the “Mapping Details” of
“Product” to reference the sBBR_rate. I can reference RatesLink and link that to the “Products” primary key, however, I cannot reference the BBR table.

EDM

The methods I can think of to work “around” this is are as follows:

  • Create a view, reference the view in the EDM.
  • Create an SP and use a function import to retrieve the BBR when it is required.
  • Create a “Rates” entity in the EDM that can then draw down the sBBR_rate into it. Navigate to the Products BBR through Product.Rates.sBBR_rate.

Is there a better way I can do this that doesn’t feel so much like a fudge? Perhaps by directly editing the XML of the Mapping or Conceptual layers of the EDM?

Thanks for your input.

  • 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-04T05:57:18+00:00Added an answer on June 4, 2026 at 5:57 am

    I ended up creating a view and then linking this view in the EDM, this worked a treat.

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

Sidebar

Related Questions

Hey, I have a table called products that has a relationship with itself. This
I have this Entity called 'Operation': @Entity @Table(name=operation) public class Operation implements Serializable {
I have a entity called Product,this is a part of it's declration: [EdmEntityTypeAttribute(NamespaceName=NorthwindModel, Name=Product)]
I have an entity context that includes three tables. The first is a table
Let's say that hypothetically I have a table called Products with a primary key
I have this basic one-to-many relationship in Core Data: Brand has N Products Product
Imagine I have an entity called Product and a repository for it: public class
I have an Abstract type called Product, and five Types that inherit from Product
We have an advanced product option created called Courses. It contains all the fields
I have a project in Asp net mvc. An entity called product can not

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.