Hi ,
My question is which is the best practise to check for duplication before inseerting or updating using linq to sql ,
some says use singleordefault and then check for null ,
someboday says user firstordefault ,
some says use .any which returns boolean ,
some says use count ,..
I know all this are the correct way , but i want to know which is the best practise for this