mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 09:59:06 +02:00
* ResourceID and AutoApplyUpdates properties
This commit is contained in:
parent
2d01d6356a
commit
eb356cc2b9
@ -116,8 +116,10 @@ Type
|
||||
FDatabaseConnection: String;
|
||||
FOnGetQueryParams: TGetQueryParamsEvent;
|
||||
FParams: TQueryParams;
|
||||
FResourceID: String;
|
||||
FResourceName: String;
|
||||
FSQL: TStrings;
|
||||
FAutoApplyUpdates : Boolean;
|
||||
function CreateQueryParams: TQueryParams;
|
||||
procedure SetConnection(AValue: TSQLDBRestConnection);
|
||||
procedure SetParams(AValue: TQueryParams);
|
||||
@ -138,6 +140,10 @@ Type
|
||||
Property Params : TQueryParams Read FParams Write SetParams;
|
||||
// Event to adapt parameters when issuing a request
|
||||
Property OnGetQueryParams : TGetQueryParamsEvent Read FOnGetQueryParams Write FOnGetQueryParams;
|
||||
// If set, it will be appended to the URL in a GET operation.
|
||||
Property ResourceID : String Read FResourceID Write FResourceID;
|
||||
// Automatically call ApplyUpdates when a Post/Delete happens.
|
||||
Property AutoApplyUpdates : Boolean Read FAutoApplyUpdates Write FAutoApplyUpdates;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user