// strings public Criteria(DataItems.CompareStrEnum filterEnum, ICompStringUnary compareOpr) { FilterEnum = filterEnum; CompareOpr = (CompareOpRoot)compareOpr; // TestValue = null; // IgnoreCase = true; }
public Criteria(DataItems.CompareStrEnum filterEnum, ICompStringBinary compareOpr, string testValue, bool ignoreCase = true) { FilterEnum = filterEnum; CompareOpr = (CompareOpRoot)compareOpr; TestValue = new ItemValue(testValue); IgnoreCase = ignoreCase; }