Data.Win.ADODB.TParameters.IsEqual

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TParameters

Delphi

function IsEqual(Value: TParameters): Boolean;

C++

bool __fastcall IsEqual(TParameters* Value);

Description

Indicates whether two TParameters objects have identical contents.

Use IsEqual to compare the contents of two TParameters objects. IsEqual returns true if the parameter collection specified in Value exactly matches the calling parameter collection. To match, each parameter collection must have the same number of TParameter objects, in the same order, which match on name, datatype, parameter type, and value.



if (ADOQuery1.Parameters.IsEqual(ADOQuery2.Parameters) then
{ do one thing }
else
{ do something else };



if (ADOQuery1->Parameters->IsEqual(ADOQuery2->Parameters)
// do one thing
else
// do something else



See Also