This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
int[] foo = {1, 2, 3, 4, 5}; QueryExpression evaluates as: "{Id IN System.Int32[]}" The actual query operation throws an exception: {"No mapping exists from object type System.Int32[] to a known managed provider native type."} I know "In" takes params object[] values, but I expected my int[] to automatically map to it... as apparently it does in this posting http://stackoverflow.com/questions/36350/c-how-to-pass-a-single-object-to-a-params-object |
|
|
Nevermind... apparently it must be an object array (object[]) for that to work. |
|