Product Documentation

V9 Update Guide

Previous Topic

Next Topic

Default Index for Physical Data File Traversal

The default index traversal mode, CTDB_DATA_IDXNO, is exposed in .NET through the IDXNO attribute.

Previously, to traverse a table in physical order through FairCom DB for .NET one would set the default index (in this case using no index) as follows:

record.SetDefaultIndex( (int) IDXNO.DATA);

This call required a cast to an int. An overloaded method has been added to avoid this cast issue. The following is now properly allowed as a syntax:

record.SetDefaultIndex( IDXNO.DATA )

TOCIndex