Assembly: Laner;
Namespace: Prognoz.Platform.Interop.Laner;
The ILanerContext interface contains properties and methods used to work with the context in which data is synchronized between time series database workbooks.
ILanerContext
Workbooks registered in the same context must use the same time series database as their data source. Each workbook can be added in the context only in one copy.
If work books of the time series database are registered in the same context, their data is synchronized. When series values change in one of the workbooks, the corresponding data is updated in all the series that have the same values of mandatory attributes.On changing the group attribute value this attribute's value is updated in all the series, that are included in the group.
The synchronization pattern for the series with determined displaying format (transformation) and the series with source data:
On changing the values of the series with transformation the source series is modified in accordance with the changes made. Thus, the inverse transformation is performed.
On changing the source values of the series the series with transformation containing the data unchanged is compared to the series containing the changed data. The values of the time series with transformation are highlighted only if they were changed.
Database always stores the source data, that is the data without transformation.
NOTE. For the Standardization and Normalization transformation types this pattern is not effective.
All the series from all the workbooks, that are registered in the context, are available for formulas construction.
Property name | Brief description | |
The AllowExternalStubs property determines whether series from different workbooks can be used in calculation. | ||
The AllowSmartHighlighting property determines whether "smart" highlighting is allowed. | ||
The AllowSynchronization property determines whether equal series synchronization is allowed. | ||
The DataLoadEndDate property determines a date of data loading end for all workbooks, that are in the context. | ||
The DataLoadStartDate property determines the date of data loading start for all workbooks, that are in the context. |
Method name | Brief description | |
The BeginLoad method starts loading of workbooks into the context. | ||
The CreateCopy method creates a copy of the specified workbook. | ||
The EndLoad method ends loading of workbooks to the context. | ||
The FindSerieByStubKey method searches a series in the context by data source key. | ||
The IsRegistered method returns whether workbook is registered in the context. | ||
The LoadFromStream method loads the context from specified stream. | ||
The RefreshData method updates data of workbooks registered in the context. | ||
The Register method registers workbook in the context. | ||
The SaveToStream method loads the context into specified stream. | ||
The Unregister method disconnects a workbook from the context. |
See also: