示例#1
0
 public void close(bool ok)
 {
     if (cnn_ != null)
     {
         if (ok)
         {
             cnn_.Commit();
         }
         else
         {
             cnn_.Rollback();
         }
         cnn_.Dispose();
     }
 }