You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a local/static/instance variable collection for a Contains call in a Where expression works, but constructing a literal array within the expression does not work. The implementation will be complicated by the possibility that the array is not constant, but includes an item from the expression input.
Using a local/static/instance variable collection for a
Containscall in a Where expression works, but constructing a literal array within the expression does not work. The implementation will be complicated by the possibility that the array is not constant, but includes an item from the expression input.Test case:
Invio.QueryProvider.MySql/test/Invio.QueryProvider.MySql.Test/MySqlQueryableTest.cs
Lines 144 to 146 in 03146ab
Expected:
Both
obj => (new[] { 1, 2, 3 }).Contains(obj.Field)andobj => (new[] { obj.Field1, obj.Field2, obj.Field3 }).Contains(1)should be functional.