Data.DB.TParamObject.Create
Delphi
constructor Create(AObject: TObject; ADataType: TFieldType; AInstanceOwner: Boolean); virtual;
C++
__fastcall virtual TParamObject(System::TObject* AObject, TFieldType ADataType, bool AInstanceOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Data.DB.pas Data.DB.hpp |
Data.DB | TParamObject |
Description
Creates an instance of the TParamObject class that stores the given object, with the specified ownership flag.
Call Create to create an instance of the TParamObject class that stores the object given through AObject using the ownership flag specified by AInstanceOwner. The ADataType parameter specifies the data type of the corresponding field.
If AInstanceOwner is True, the TParamObject instance will also own the object given by AInstance.