DbDataSource.CreateDbCommand(String) Methode

Definitie

Retourneert een DbCommand die gereed is voor uitvoering tegen de DbDataSource.

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

Parameters

commandText
String

De tekstopdracht waarmee de DbCommand methode wordt geïnitialiseerd.

Retouren

Een DbCommand die klaar is voor uitvoering tegen de DbDataSource.

Opmerkingen

Deze methode is bedoeld om te worden overschreven door ADO.NET-providers te implementeren en is geen gebruikersgerichte API.

Van toepassing op