日期:2014-05-18 浏览次数:20819 次
string source="database connections";
using (TranscationScope scope=new TranscationScope(TranscationScope.Required))
{
using(SQLiteConnection cn =new SQLiteConnection(scource))
{
//do something in sql
//update three table
scope.Complete();
}
}