Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Lamar
Posts
Comments
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
I don't have any questions about this right now. Will continue fighting adding Identity now 🙃 . Thanks a bunch!
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
That's a relief
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
cue the FK constraint issue
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
This was the issue, I was doing both things
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
Thanks a lot
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
It worked
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
Should I also update manualy the lists of products inside DailyNutrition?
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
But if I add a reference to the Product of the DailyNutrition
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
Let me try it out
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
No, I want it to be added to an existing dailyNutrition for the currentDay
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
Oh OK, then should I assign the reference to the existing nutrition
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
Or on each product for the DailyNutrition FK?
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
Which one? On the Product?
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
well Could you share how you created the entities before saving them?
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
I guess this means I am not creating it properly in blazor
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
It's the way I have it also
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
I have completely commeted out and made a migration without the nutritional value part
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
But when I try to add more I get that fk issue
83 replies
C
C#
•
Created by Lamar on 5/1/2024 in
#help
Entity Framework Core 8 -Foreign Key Constraint failure.
No it's the other way around I can add 1 product to a dailyNutritonalInfo
83 replies