Condividi tramite


DbProviderFactory.CreateCommand Metodo

Definizione

Restituisce una nuova istanza della classe del provider che implementa la classe DbCommand.

public:
 virtual System::Data::Common::DbCommand ^ CreateCommand();
public virtual System.Data.Common.DbCommand CreateCommand ();
public virtual System.Data.Common.DbCommand? CreateCommand ();
abstract member CreateCommand : unit -> System.Data.Common.DbCommand
override this.CreateCommand : unit -> System.Data.Common.DbCommand
Public Overridable Function CreateCommand () As DbCommand

Restituisce

Nuova istanza di DbCommand.

Si applica a

Vedi anche