Assembly: Dt;
Namespace: Prognoz.Platform.Interop.Dt;
The IDtRestProvider interface contains properties and methods of the Import from REST data provider.
IDtRestProvider
| Property name | Brief description | |
The Credentials property returns parameters of the credentials that are used to connect to REST service. |
||
The Headers property returns the collection of HTTP headers. |
||
The ResultProvider property returns settings of the data provider that will handle the response from REST service. |
||
The ResultType property determines a data format, in which the response from REST service is to be obtained. |
||
The Timeout property determines REST service timeout. |
||
The Url property determines an URL of the REST service, to which requests to get data are to be sent. |
| Property name | Brief description | |
| The AutoFillFieldsMode property determines the field type detection mode of the data provider. | ||
| The CalcFieldsErrors property returns a collection of errors appeared on calculated fields calculation. | ||
| The Eof property returns True if the cursor in the data source is on the last record. | ||
| The FetchErrors property returns errors occurred on data import. | ||
| The FilterIf property returns condition of loading of records from data provider. | ||
| The StringDataFormat property returns settings used on data identification. | ||
| The TypeGuessRows property determines number of rows by means of which the data type of each field will be determined. |
| Property name | Brief description | |
| The Active property returns data source or data consumer state. | ||
| The Fields property returns data provider/data consumer fields description. | ||
| The GetType property returns data provider/data consumer type. | ||
| The Metabase property determines the repository, in which data is imported or exported. |
| Method name | Brief description | |
| The Fetch method reads data of the current entry from the data provider. | ||
| The FetchRows method reads data of the specified number of entries from the data provider and returns the number of actually read entries. | ||
| The ReadingRowsCount method returns the number of records read from the data source with taking into account loading condition. | ||
| The ReadingRowsTotalCount method returns the number of records read from the data source without taking into account loading condition. |
| Method name | Brief description | |
| The ClearFields method clears fields list of the data provider or data consumer. | ||
| The Close method closes data provider or data consumer. | ||
| The FieldsFromFile method reads fields list from the source file. | ||
| The Load method loads data source or data consumer parameters from XML. | ||
| The Open method opens data provider or data consumer. | ||
| The Save method saves data source or data consumer parameters in XML format. |
See also: