Пример #1
0
 /// <summary>
 /// Set the current index of a cursor.
 /// </summary>
 /// <param name="sesid">The session to use.</param>
 /// <param name="tableid">The cursor to set the index on.</param>
 /// <param name="index">
 /// The name of the index to be selected. If this is null or empty the primary
 /// index will be selected.
 /// </param>
 /// <param name="indexid">
 /// The id of the index to select. This id can be obtained using JetGetIndexInfo
 /// or JetGetTableIndexInfo with the <see cref="JET_IdxInfo.IndexId"/> option.
 /// </param>
 /// <param name="grbit">
 /// Set index options.
 /// </param>
 /// <param name="itagSequence">
 /// Sequence number of the multi-valued column value which will be used
 /// to position the cursor on the new index. This parameter is only used
 /// in conjunction with <see cref="SetCurrentIndexGrbit.NoMove"/>. When
 /// this parameter is not present or is set to zero, its value is presumed
 /// to be 1.
 /// </param>
 public static void JetSetCurrentIndex4(
     JET_SESID sesid,
     JET_TABLEID tableid,
     string index,
     JET_INDEXID indexid,
     SetCurrentIndexGrbit grbit,
     int itagSequence)
 {
     Api.Check(Impl.JetSetCurrentIndex4(sesid, tableid, index, indexid, grbit, itagSequence));
 }
Пример #2
0
 /// <summary>
 /// Set the current index of a cursor.
 /// </summary>
 /// <param name="sesid">The session to use.</param>
 /// <param name="tableid">The cursor to set the index on.</param>
 /// <param name="index">
 /// The name of the index to be selected. If this is null or empty the primary
 /// index will be selected.
 /// </param>
 /// <param name="grbit">
 /// Set index options.
 /// </param>
 public static void JetSetCurrentIndex2(JET_SESID sesid, JET_TABLEID tableid, string index, SetCurrentIndexGrbit grbit)
 {
     Api.Check(Impl.JetSetCurrentIndex2(sesid, tableid, index, grbit));
 }