Click or drag to resize

FileUndoHelperGetMostRecentTransactionIndex Method

[This is preliminary documentation and is subject to change.]

Returns the last known transaction index. This is not necessarily the last index.

Namespace:  CalculationWorks.BusinessModel.UndoSerialization
Assembly:  CalculationWorks.BusinessModel.UndoSerialization (in CalculationWorks.BusinessModel.UndoSerialization.dll) Version: 4.0.0-beta7
Syntax
public static int GetMostRecentTransactionIndex(
	Stream indexFile,
	Stream dataFile,
	BcfDataSet dataSet
)

Parameters

indexFile
Type: System.IOStream
A navigable (file-) Stream.
dataFile
Type: System.IOStream
A navigable (file-) Stream.
dataSet
Type: CalculationWorks.BusinessModelBcfDataSet
The dataset.

Return Value

Type: Int32
The last known transaction index.
Exceptions
ExceptionCondition
ArgumentNullExceptionindexFile or dataFile or dataSet is null.
See Also