Click here to Skip to main content
15,498,966 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
error occurred while creating database by code first


What I have tried:

error occurred while creating database by code first
Posted
Updated 6-Jun-18 2:50am
Comments
Patrice T 6-Jun-18 2:01am    
Do you have a question ?

1 solution

You have to do what it says. You are trying to create a foreign key that will possibly cascade into a loop or into multiple paths and SQL does not like it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900