How to get id values for multiple rows inserted in a table?

I am using LINQ 2 SQL. When a record is inserted, the identity key on the table is created. I am inserting multiple records via LINQ 2 SQL. How can I get their Id values back after the insert is done?


Sign In or Register to comment.