Let's say I have a property which should be unique.I am wondering what's
the best way to catch unique constraint violation. I can think of two
ways.Manually Check before insert if there the value already exists.Try
to insert and catch exceptionsThe f...