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

  • Home
  • SEARCH
  • 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 7498705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:34:05+00:00 2026-05-29T19:34:05+00:00

I have put a new table in my database and there are 4 tables

  • 0

I have put a new table in my database and there are 4 tables that have a foreign key relationship with it.
I thought I configured all 4 in the same way, but I get this error;

Error 15 Error 113: Multiplicity is not valid in Role ‘ReportCellImage’ in relationship ‘FK_OtherLeaves_ReportCellImages’. Because all the properties in the Dependent Role are nullable, multiplicity of the Principal Role must be ‘0..1’.

So to simplify my tables;

ReportCellImage table contains the
ReportCellImageId field which in the primary key and an integer

OtherLeave table contains the
ReportCellImageId field as a nullable foreign key with a default of 4

The other tables are similar and all have a foreign key configured to join with the ReportCellImage table

This is a recent change, so when I update my edmx file from the database, why do I get this error and how do I fix it?

  • 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-29T19:34:06+00:00Added an answer on May 29, 2026 at 7:34 pm

    If your FK is nullable your multiplicity in principal entity must be 0..1 – default value has no role in this because you can assign null to FK. So all your dependent entities must be in 0..1 – * relation with your principal entity.

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

Sidebar

Related Questions

MYSQL Database: I have a table of data that I need to put into
I want to have a database table that keeps data with revision history (like
I have a table in my database that stores musicians in a table as
I'm really upset with Hibernate! I have a database table (mysql) that holds parent-child
I have a new project which simply put, is an attempt to formalize the
I am new to the world of VB.NET and have been tasked to put
I have a big database (~4GB), with 2 large tables (~3M records) having ~180K
I am having problems with Mapping. I have two tables in my database as
I have this idea that using SQL VIEWS to abstract simple database computations (such
I am making changes to an existing database while developing new software. There is

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.