title: c# multithreading - Is there a need to lock when writing to DB?
body: <p>I've got a multithreaded C# 2.0 app where each thread writes some results into a SQL server 2000 database table. There is only a straight INSERT command and no other logic.</p>
  
  <p>My question is - do I need to put a lock around the methods that writes the results to the database? There is a lock at the moment but I suspect that it's slowing down the app by quite a lot. </p>
  
  <p>Thanks! </p>