I have an application that saves data into a table called Jobs. The Jobs table has a column called Name which has a UNIQUE constraint. The Name column is not PRIMARY KEY. I wond
I would leave that work entirely to the database; your code should focus on catching and properly handling the exception.
Reasons: