Table entity column is unique, and I'm trying to add items. Items amount is fairly big, so i'm trying to avoid connecting to a database many times. What is the best way to ignore duplicates?
Example: code
Edit: Problem was word1 was of type nchar(50), so after changing it to nvarchar(50) everything worked.