DbDataSource.CreateDbCommand(String) Metodo

Definizione

Restituisce un oggetto DbCommand pronto per l'esecuzione DbDataSourcesu .

protected virtual System.Data.Common.DbCommand CreateDbCommand(string? commandText = default);
abstract member CreateDbCommand : string -> System.Data.Common.DbCommand
override this.CreateDbCommand : string -> System.Data.Common.DbCommand
Protected Overridable Function CreateDbCommand (Optional commandText As String = Nothing) As DbCommand

Parametri

commandText
String

Comando di testo con cui inizializzare l'oggetto DbCommand restituito da questo metodo.

Valori restituiti

Oggetto DbCommand pronto per l'esecuzione DbDataSourcesu .

Commenti

Questo metodo deve essere sottoposto a override implementando provider ADO.NET e non è un'API rivolta all'utente.

Si applica a