How to catch DbUpdateException Unique exception?

后端 未结 0 854
予麋鹿
予麋鹿 2021-01-13 12:07

I\'m inserting a Tag when it already exists into the Tag table, hence it returns the message,

Message "Cannot insert duplicate key row in object \'dbo.Ta         


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