© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
2 replies
Mon AFK

Swagger + Database problem

I have database in this text file and I'm trying to delete it but I have problem in this picture:
Microsoft.Data.SqlClient.SqlException (0x80131904): The DELETE statement conflicted with the REFERENCE constraint "FK_Orders_Employees". The conflict occurred in database "Northwind", table "dbo.Orders", column 'EmployeeID'.
If you have any ideal please let me know. Thank you so much!
image.png
db.cs25.25KB
Controller.cs3.42KB
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ I have a weird swagger problem
C#CC# / help
3y ago
✅ Database-Update problem
C#CC# / help
10mo ago
✅ MySQL Database Procedure Problem
C#CC# / help
12mo ago
Swagger, openAPI specification
C#CC# / help
3y ago