IDtProvider

Сборка: Dt;

Пространство имен: Prognoz.Platform.Interop.Dt;

Описание

Интерфейс IDtProvider содержит базовые свойства и методы для работы с источником данных.

Иерархия наследования

          IDtObject

          IDtProvider

Комментарии

Интерфейсы, являющиеся наследниками IDtProvider

Свойства и методы, использующие объекты, реализованные интерфейсами-наследниками IDtProvider

Примечание. Для корректной работы необходимо закрывать открытый источник данных с помощью метода IDtObject.Close.

Свойства

  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.

Свойства, унаследованные от IDtObject

  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.

Методы, унаследованные от IDtObject

  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.

См. также:

Интерфейсы сборки Dt