DbCommandBuilder.ApplyParameterInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om