I need use a query like
SELECT * FROM Table WHERE field IN (1,2,3)
I c# use this
var data = context.ExecuteQuery<Some>( "SELECT * FROM Table WHERE field IN {0}", arrayParam ); //for example arrayParam has 1,2,3
When I used this, works fine
var data = context.ExecuteQuery<Some>( "SELECT * FROM Table WHERE field = {0}", 1);
But in with param crash
as passing the array of parameters?
NOTE: The real query is It is much more complex, for this reason use native query instead linq