Share via


SqlDatabase.ExecuteNonQuery Method

Definition

Overloads

ExecuteNonQuery(DbCommand)
ExecuteNonQuery(DbCommand, DbTransaction)

ExecuteNonQuery(DbCommand)

public:
 int ExecuteNonQuery(System::Data::Common::DbCommand ^ command);
public int ExecuteNonQuery (System.Data.Common.DbCommand command);
member this.ExecuteNonQuery : System.Data.Common.DbCommand -> int
Public Function ExecuteNonQuery (command As DbCommand) As Integer

Parameters

command
DbCommand

Returns

Applies to

ExecuteNonQuery(DbCommand, DbTransaction)

public:
 virtual int ExecuteNonQuery(System::Data::Common::DbCommand ^ command, System::Data::Common::DbTransaction ^ transaction);
public virtual int ExecuteNonQuery (System.Data.Common.DbCommand command, System.Data.Common.DbTransaction transaction);
abstract member ExecuteNonQuery : System.Data.Common.DbCommand * System.Data.Common.DbTransaction -> int
override this.ExecuteNonQuery : System.Data.Common.DbCommand * System.Data.Common.DbTransaction -> int
Public Overridable Function ExecuteNonQuery (command As DbCommand, transaction As DbTransaction) As Integer

Parameters

command
DbCommand
transaction
DbTransaction

Returns

Applies to