Partager via


SqlDatabase.ExecuteNonQuery Méthode

Définition

Surcharges

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

Paramètres

command
DbCommand

Retours

S’applique à

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

Paramètres

command
DbCommand
transaction
DbTransaction

Retours

S’applique à