Linq to SQL Compact - Transaction or just SubmitChanges

Posted by eWolf on Stack Overflow See other posts from Stack Overflow or by eWolf
Published on 2009-10-26T20:57:41Z Indexed on 2010/05/01 20:07 UTC
Read the original article Hit count: 263

I'm using Linq to SQL on an SQL Compact database. I have a function where I insert multiple records into the database. I only call SubmitChanges at the end of the function. Would using a transaction (using the TransactionScope class) bring me any more performance or advantages?

© Stack Overflow or respective owner

Related posts about sql-server-ce

Related posts about transactions