_In operator


I have the following bit of code:##

TipiVisita := Trim(SearchCriteria.Tipi.QuotedText).DeQuotedString.Split([',']);

TipiVisita is a TArray and Delphi complains there isn't an overloaded version of _In that accepts those parameters. I have the Criteria.Linq in my uses, so I am not sure what I am missing.


_In method accepts only an array of Variant, not all types of array.

    function _In(AValues: TArray<Variant>): TLinqExpression; overload;
    function _In(AValues: array of Variant): TLinqExpression; overload;