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.
25 lines
589 B
25 lines
589 B
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) {
|
|
}
|
|
|
|
}
|
|
}
|
|
|