mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-20 20:19:27 +02:00
* ResourceID and AutoApplyUpdates properties
This commit is contained in:
parent
2d01d6356a
commit
eb356cc2b9
@ -116,8 +116,10 @@ Type
|
|||||||
FDatabaseConnection: String;
|
FDatabaseConnection: String;
|
||||||
FOnGetQueryParams: TGetQueryParamsEvent;
|
FOnGetQueryParams: TGetQueryParamsEvent;
|
||||||
FParams: TQueryParams;
|
FParams: TQueryParams;
|
||||||
|
FResourceID: String;
|
||||||
FResourceName: String;
|
FResourceName: String;
|
||||||
FSQL: TStrings;
|
FSQL: TStrings;
|
||||||
|
FAutoApplyUpdates : Boolean;
|
||||||
function CreateQueryParams: TQueryParams;
|
function CreateQueryParams: TQueryParams;
|
||||||
procedure SetConnection(AValue: TSQLDBRestConnection);
|
procedure SetConnection(AValue: TSQLDBRestConnection);
|
||||||
procedure SetParams(AValue: TQueryParams);
|
procedure SetParams(AValue: TQueryParams);
|
||||||
@ -138,6 +140,10 @@ Type
|
|||||||
Property Params : TQueryParams Read FParams Write SetParams;
|
Property Params : TQueryParams Read FParams Write SetParams;
|
||||||
// Event to adapt parameters when issuing a request
|
// Event to adapt parameters when issuing a request
|
||||||
Property OnGetQueryParams : TGetQueryParamsEvent Read FOnGetQueryParams Write FOnGetQueryParams;
|
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;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user