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; |