Changes between Version 23 and Version 24 of MapGuideRfc86


Ignore:
Timestamp:
10/12/09 03:01:50 (15 years ago)
Author:
leaf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc86

    v23 v24  
    3030
    3131{{{
    32     featureService.ExecuteSqlQuery(featureSourceId, "SAVEPOINT X", null, null);
     32    featureService.ExecuteSqlNonQuery(featureSourceId, "SAVEPOINT X", null, null);
    3333    try
    3434    {
    35         MgSqlDataReader reader1 = featureService.ExecuteSqlQuery(featureSourceId, "SELECT FID FROM DUMMY", null, null);
     35        MgSqlDataReader reader1 = featureService.ExecuteSqlNonQuery(featureSourceId, "SELECT FID FROM DUMMY", null, null);
    3636        featureService.ExecuteSqlNonQuery(featureSourceId, "SAVEPOINT Y", null, null);
    3737        try
     
    4141        catch (System.Exception)
    4242        {
    43             featureService.ExecuteSqlQuery(featureSourceId, "ROLLBACK TO Y", null, null);
     43            featureService.ExecuteSqlNonQuery(featureSourceId, "ROLLBACK TO Y", null, null);
    4444        }
    4545
     
    5757    catch (System.Exception)
    5858    {
    59         featureService.ExecuteSqlQuery(featureSourceId, "ROLLBACK TO X", null, null);
     59        featureService.ExecuteSqlNonQuery(featureSourceId, "ROLLBACK TO X", null, null);
    6060    }
    61     featureService.ExecuteSqlQuery(featureSourceId, "COMMIT", null, null);
     61    featureService.ExecuteSqlNonQuery(featureSourceId, "COMMIT", null, null);
    6262}}}
    6363