An alternative to UBB.threads
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Web.Core.DB.conditions {
|
|
|
|
|
public class MultiValueCondition : SimpleCondition {
|
|
|
|
|
|
|
|
|
|
public readonly ColumnSpec column;
|
|
|
|
|
|
|
|
|
|
public readonly bool inclusive;
|
|
|
|
|
|
|
|
|
|
public readonly string[] values;
|
|
|
|
|
|
|
|
|
|
public MultiValueCondition(ColumnSpec column, string[] values, bool inclusive) {
|
|
|
|
|
this.column = column;
|
|
|
|
|
this.values = values;
|
|
|
|
|
this.inclusive = inclusive;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public MultiValueCondition(ColumnSpec column, string[] values) : this(column, values, true) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|