SharpSchedule

ConnectionFactory.ExecuteNonQuery Method (IDbCommand, Boolean)

Wrapper for executing updates, inserts, etc. Used to ensure that the error handling for/ connection handling is performed in a consistent manner.

[Visual Basic]
Overloads Public Shared Sub ExecuteNonQuery( _
   ByVal command As IDbCommand, _
   ByVal closeConnection As Boolean _
)
[C#]
public static void ExecuteNonQuery(
   IDbCommand command,
   bool closeConnection
);

Parameters

command
The command object that contains the commands and connection to execute on the database.
closeConnection
true
if the database connection should be closed;
false
otherwise.

See Also

ConnectionFactory Class | Ozanam.Schedule.Store.Database Namespace | ConnectionFactory.ExecuteNonQuery Overload List