Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Database First: Multiplicity Conflicts with the referential Constraints in Role 'UserInformation'

$
0
0

My Project was working fine now I get this error When I updated the model with a new table. I've looked for solution on here but so far can't find anything. the error I can see are like

  • Severity Code Description Project File Line Suppression State Error Error 113: Multiplicity conflicts with the referential
    constraint in Role 'UserInformation' in relationship
    'FK_Tokens_UserInformation'. Because all of the properties in the
    Dependent Role are non-nullable, multiplicity of the Principal Role
    must be '1'. DataModel F:\kode\TheWork\TheWork2\TheWork\DataModel\Model1.edmx 134

and

Severity Code Description Project File Line Suppression State Error Running transformation: Multiplicity conflicts with the referential constraint in Role 'UserInformation' in relationship 'FK_Tokens_UserInformation'. Because all of the properties in the Dependent Role are non-nullable, multiplicity of the Principal Role must be '1'. DataModel F:\kode\TheWork\TheWork2\TheWork\DataModel\Model1.edmx 134

Here is my Model Diagram

enter image description here

Update 1 Some one said do this but how

in the edmx designer, manually change the multiplicity of the "1" side of the association so it becomes 1-n


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>