ILanerSourceSerie.Save

Syntax

Save([SaveOptions: LnSaveOptions = 255]): IRubricatorRevision;

Parameters

SaveOptions is the parameter determining the changes, that need to be saved.

Description

The Save method saves the series data and returns the revision containing the changes made. By default all the changes made in the data table are saved.

Example

Executing the example requires a form with the Button1 button, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for TabSheetBox. Working area of the time series database must be loaded to UiErAnalyzer1.

Click the button to start executing this example.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

ErAn: IEaxAnalyzer;

Laner: ILaner;

Serie: ILanerSerie;

SourceSerie: ILanerSourceSerie;

Begin

ErAn := UiErAnalyzer1.ErAnalyzer;

Laner := ErAn.Laner;

Serie := Laner.Series.Item(0);

If Serie.Kind = LnSerieKind.Source Then

SourceSerie := Serie As ILanerSourceSerie;

SourceSerie.Save;

End If;

End Sub Button1OnClick;

After executing the example the changes made are saved.

See also:

ILanerSourceSerie