Differentiate FK constraint exceptions from other db exceptions in EF Core?

前端 未结 0 863
旧巷少年郎
旧巷少年郎 2021-01-18 10:35

I have an API (.NET Core Web API) with a lot of POST methods that need Foreign Keys IDs in data payload. If such FK doesn\'t exists in the database

相关标签:
回答
  • 消灭零回复
提交回复
热议问题