Mimer SQL Data Provider
ExecuteNonQuery Method (MimerBatch)




Mimer.Data.Client Namespace > MimerBatch Class : ExecuteNonQuery Method
Executes the batch against its connection object, returning the total number of rows affected across all the batch commands.
Syntax
'Usage
 
Dim instance As MimerBatch
Dim value As Integer
 
value = instance.ExecuteNonQuery()
public override int ExecuteNonQuery()
public function ExecuteNonQuery(): Integer; override; 
public override function ExecuteNonQuery() : int;
public: int ExecuteNonQuery(); override 

Return Value

Total number of rows affected across all the batch commands
Exceptions
ExceptionDescription
Dispose has been called for the MimerBatch
No Connection has been set on the MimerBatch or the connection is not Open.
Remarks
You can use ExecuteNonQuery to perform catalog operations, such as querying the structure of a database or creating objects like tables. Additionally, it can be used to modify data in a database by executing statements like UPDATE, INSERT, or DELETE.
Requirements

.NET Framework
Version 4.6.2 or later

See Also

Reference

MimerBatch Class
MimerBatch Members