Stop LINQ to SQL from executing select statements after insert
问题 I'm using LINQ to SQL to update my database. I'm inserting a lot of records, and when I call SubmitChanges(), LINQ to SQL executes an insert and a select statement for each object. I don't really care to update my objects after they are inserted into the database. Do you know I can prevent LINQ to SQL from issuing the select statements after the insert statements? This should make my app much faster. 回答1: You're looking for ColumnAttribute.AutoSync. If you're using the designer, check each