/// <summary> /// Constructs an instance of this class. /// </summary> /// <param name="nConstraint"> /// The number of <see cref="SQLiteIndexConstraintUsage" /> instances /// to pre-allocate space for. /// </param> internal SQLiteIndexOutputs(int nConstraint) { constraintUsages = new SQLiteIndexConstraintUsage[nConstraint]; }
/// <summary> /// Constructs an instance of this class. /// </summary> /// <param name="nConstraint"> /// The number of <see cref="SQLiteIndexConstraintUsage" /> instances /// to pre-allocate space for. /// </param> internal SQLiteIndexOutputs(int nConstraint) { constraintUsages = new SQLiteIndexConstraintUsage[nConstraint]; // // BUGFIX: Create the [empty] constraint usages now so they can be // used by the xBestIndex callback. // for (int iConstraint = 0; iConstraint < nConstraint; iConstraint++) constraintUsages[iConstraint] = new SQLiteIndexConstraintUsage(); }
public sqlite3_index_constraint_usage( SQLiteIndexConstraintUsage constraintUsage ) : this() { if (constraintUsage != null) { argvIndex = constraintUsage.argvIndex; omit = constraintUsage.omit; } }