Szerkesztés

Megosztás a következőn keresztül:


DbCommandBuilder.ApplyParameterInfo Method

Definition

Allows the provider implementation of the DbCommandBuilder class to handle additional parameter properties.

protected:
 abstract void ApplyParameterInfo(System::Data::Common::DbParameter ^ parameter, System::Data::DataRow ^ row, System::Data::StatementType statementType, bool whereClause);
protected abstract void ApplyParameterInfo (System.Data.Common.DbParameter parameter, System.Data.DataRow row, System.Data.StatementType statementType, bool whereClause);
abstract member ApplyParameterInfo : System.Data.Common.DbParameter * System.Data.DataRow * System.Data.StatementType * bool -> unit
Protected MustOverride Sub ApplyParameterInfo (parameter As DbParameter, row As DataRow, statementType As StatementType, whereClause As Boolean)

Parameters

parameter
DbParameter

A DbParameter to which the additional modifications are applied.

row
DataRow

The DataRow from the schema table provided by GetSchemaTable().

statementType
StatementType

The type of command being generated; INSERT, UPDATE or DELETE.

whereClause
Boolean

true if the parameter is part of the update or delete WHERE clause, false if it is part of the insert or update values.

Remarks

This method allows an implementation of the DbCommandBuilder class to handle provider-specific parameter properties.

Applies to

See also