ContentsIndexHome
PreviousUpNext
IDataView::flush Method

Flushes the buffered changes to this data; if possible, this will be performed in the background. 

 

C++
virtual bool flush() = 0;

A boolean indicating whether anything has been flushed. 

 

If any modifications to related sets are detected, everything is flushed, as if updateData was called on ISession, to ensure no dependencies are violated. 

The flush returns false if there is nothing to flush in this data, otherwise, the new data will be sent to AIMMS in the background. 

If the flush in the background is possible, the use of this function can increase performance in case large amounts of data are written.