public StringFilter ToUpper() { Equal = Equal?.ToUpper(); NotEqual = NotEqual?.ToUpper(); Contains = Contains?.ToUpper(); NotContains = NotContains?.ToUpper(); StartsWith = StartsWith?.ToUpper(); NotStartsWith = NotStartsWith?.ToUpper(); EndsWith = EndsWith?.ToUpper(); NotEndsWith = NotEndsWith?.ToUpper(); return(this); }
public StringFilter ToUpper() { if (Equal != null) { Equal = Equal.ToUpper(); } if (NotEqual != null) { NotEqual = NotEqual.ToUpper(); } if (Contains != null) { Contains = Contains.ToUpper(); } if (NotContains != null) { NotContains = NotContains.ToUpper(); } if (StartsWith != null) { StartsWith = StartsWith.ToUpper(); } if (NotStartsWith != null) { NotStartsWith = NotStartsWith.ToUpper(); } if (EndsWith != null) { EndsWith = EndsWith.ToUpper(); } if (NotEndsWith != null) { NotEndsWith = NotEndsWith.ToUpper(); } return(this); }