Accepted answer

Open the LINQ Designer. Open the properties window for the table you want to delete a record from. Click on any of the columns in the entity you want to delete and you'll see a property labeled "Primary Key". Change the value to true for column you want to use as a primary key.

P/S:This will not set the primary key on your real table.

Related Query

More Query from same tag