Exemplo n.º 1
0
 /// <summary>
 /// Constructs an instance of this class.
 /// </summary>
 /// <param name="nConstraint">
 /// The number of <see cref="SQLiteIndexConstraint" /> instances to
 /// pre-allocate space for.
 /// </param>
 /// <param name="nOrderBy">
 /// The number of <see cref="SQLiteIndexOrderBy" /> instances to
 /// pre-allocate space for.
 /// </param>
 internal SQLiteIndexInputs(int nConstraint, int nOrderBy)
 {
     constraints = new SQLiteIndexConstraint[nConstraint];
     orderBys = new SQLiteIndexOrderBy[nOrderBy];
 }
Exemplo n.º 2
0
 public sqlite3_index_constraint(
     SQLiteIndexConstraint constraint
     )
     : this()
 {
     if (constraint != null)
     {
         iColumn = constraint.iColumn;
         op = constraint.op;
         usable = constraint.usable;
         iTermOffset = constraint.iTermOffset;
     }
 }