前景提要
HDC调试需求开发(15万预算),能者速来!>>>
SQLiteCommand command = new SQLiteCommand();
SQLiteTransaction sltran = null;
try
{
using (SQLiteConnection connection = GetSQLiteConnection())
{
PrepareCommand(command, connection, cmdText, p);
sltran = connection.BeginTransaction();
command.Transaction = sltran;
int count = command.ExecuteNonQuery();
sltran.Commit();
return count;
}
}
catch
{
sltran.Rollback();
throw;
}