I am using LINQ to SQL for the first time on a small project. My tables have Primary Keys that are not identity columns because I am essentially importing from another database. The relationship is a many-to-many with a linking table. Is there a way to tell LINQ to ignore the insert if it is a duplicate?
I have already tried to check the current tables if the object exists and if so, skip to the next but because of the relationships, it makes it difficult.
I can give more details if necessary.