I am trying to use System.Data.Sqlite
with F#. In C#, I have code like
using (DbTransaction dbTrans = con.BeginTransaction()) {
using (SQLiteCommand cmd = con.CreateCommand()) {
//blahblah
}
dbTrans.Commit();
}
But in F#, when I use the similiar two using
above I got error of the type bool is not compatible with the type IDisposable
...
EDIT I am really sorry for my question. use
would work in F# case. I just dont know how to close/delete my quesetions.