title: Can anyone provide a C# example of SQLite "SetTimeout"?
body: <p>I'm using SQLite (<strong>system.data.sqlite v. 1.0.60.0</strong>) on a Fluent NHibernate project.</p>
  <p>I have one program that writes to the DB, and another that reads from it.  Occasionally, I get SQLITE_BUSY exceptions, and I need to fix this.</p>
  <p>I found several Google references to <strong>sqlite_busy_timeout</strong>, which (if I understand correctly) will cause SQLite to re-try before throwing the exception.  This would probably be sufficent for my needs.</p>
  <p>However, this does not appear to be in the system.data.sqlite assembly.</p>
  <p>When I search for <strong>SetTimeout</strong> using the Object Browser, I get two hits:</p>
  <blockquote>
  <p>System.Data.SQLite.SQLite3.SetTimeout(int)</p>
  <p>System.Data.SQLite.SQLiteBase.SetTimeout(int)</p>
  </blockquote>
  <p>but I can't seem to use them in my code - they don't show up in Intellisense, and VS2008 shows a red underline for SQLite3, with the message &quot;Can't access internal class here&quot;.</p>
  <p>Can anyone give me a sample (in C#) that shows the exact syntax for this method?</p>
  <p>Or is this even the right approach?  I could probably check for SQLITE_BUSY in my code, but have not found any good examples demonstrating that approach either.</p>
  <p>Finally, do Fluent NHibernate or NHibernate have any mechanisms to provide simple shared access to a SQLite database?</p>