SqlDataSourceDesigner.DeriveParameters(String, DbCommand) 方法

定义

从指定的 SQL 命令派生参数并向该命令的参数集合中添加相应的 Parameter 对象。Derives the parameters from the specified SQL command and adds corresponding Parameter objects to the command's parameters collection.

protected:
 virtual void DeriveParameters(System::String ^ providerName, System::Data::Common::DbCommand ^ command);
protected virtual void DeriveParameters (string providerName, System.Data.Common.DbCommand command);
abstract member DeriveParameters : string * System.Data.Common.DbCommand -> unit
override this.DeriveParameters : string * System.Data.Common.DbCommand -> unit
Protected Overridable Sub DeriveParameters (providerName As String, command As DbCommand)

参数

providerName
String

数据提供程序的名称。The name of the data provider.

command
DbCommand

DbCommand 对象。A DbCommand object.

适用于