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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:00:37+00:00 2026-05-28T03:00:37+00:00

I have a complex data model (for EF 4.1 code first) that uses composition

  • 0

I have a complex data model (for EF 4.1 code first) that uses composition (many 1-to-1’s) to achieve benefits similar to multiple inheritance. But I have a problem to solve, hopefully with mapping.

  1. I need to reduce the number of tables (not entities) to simulate
    successful multiple inheritance.

  2. I cannot replace the 1-to-1 composition classes with complex types
    because I will use Dynamic Data as an admin back-end and DD doesn’t
    work with complex types.

  3. Table-per-hierarchy does not seem it would help here because of the
    simulated multiple inheritance.

  4. Table-per-type would give way too many tables.

I think there is something called “entity splitting”. And I think I basically need the opposite of it? I wonder if what I want is even possible… basically simulating complex types by mapping model components more than once.. it sounds impossible. Should I just scrap the composition approach? I could always group properties with attributes or something.

  • 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-28T03:00:38+00:00Added an answer on May 28, 2026 at 3:00 am

    The opposite of entity splitting is called table splitting and it is really possible but it has one big problem happening only in EF code first.

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

Sidebar

Related Questions

I have a complex Query (Without any locking hints) that takes data from many
I have a fairly complex data model and consequently a fairly complex query (using
I have a web page that I use to update a fairly complex data
I have a BankAccount model class that contains data like account number, bank name,
I have several complex data structures like Map< A, Set< B > > Set<
I have a rather complex data source for my UITableView. I am very carefully
I have a Java program which prepares data into a fairly complex and big
I have a complex RIA client that communicates with a WCF SOAP web service,
We are using Hibernate as persistency layer and have complex object model. Without exposing
WPF and Silverlight have a data binding model whereby I can provide a Binding

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.