Changes between Version 5 and Version 6 of MapGuideRfc84


Ignore:
Timestamp:
Sep 8, 2009, 3:19:25 AM (15 years ago)
Author:
leaf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc84

    v5 v6  
    9797}}}
    9898
    99 The following two methods in !MgFeatureService will be extended to add one argument fetchSize to allow callers to set fetch size for a SQL query.
     99The following methods in !MgFeatureService will be extended to add one argument fetchSize to allow callers to set fetch size for a SQL query.
    100100
    101101{{{
     
    126126                                 MgTransaction* transaction,
    127127                                 INT32 fetchSize ) = 0;
    128 
    129     ///////////////////////////////////////////////////////
    130     /// \brief
    131     /// Executes SQL statements NOT including SELECT statements
    132     /// with the specified parameters.
    133     ///
    134     /// \param resource (MgResourceIdentifier)
    135     /// A resource identifier for a feature source.
    136     /// \param sqlNonSelectStatement (String/string)
    137     /// The SQL statement that is NOT a SELECT statement.
    138     /// \param params (MgParameterCollection)
    139     /// Parameters binded to the SQL statement.
    140     /// \param transaction (MgTransaction)
    141     /// The transaction on which the sql statement will be executed.
    142     /// \param fetchSize (int)
    143     /// The fetch size of query. This method returns all data
    144     /// of query if setting the fetch size to 0.
    145     ///
    146     /// \return
    147     /// Returns a positive integer value indicating how many
    148     /// instances (rows) have been affected.
    149     ///
    150     virtual INT32 ExecuteSqlNonQuery(
    151                                  MgResourceIdentifier* resource,
    152                                  CREFSTRING sqlNonSelectStatement,
    153                                  MgParameterCollection* params,
    154                                  MgTransaction* transaction,
    155                                  INT32 fetchSize ) = 0;
    156128}}}
    157129