Honestly, it just doesn't support the way tuples work. Derper deserializer maps column values ββto constructor parameters or properties / fields by name in an object type. ( Source , if you can understand the generated IL).
ValueTuples, on the other hand, still only has property names matching the elements in the tuple ( Item1 , Item2 , etc.), but uses the / ide compiler magic to make them accessible by other names. Thus, StyleId or StyleCode will not be valid property names, they are just aliases for Item1 and Item2 respectively.
You will either have to wait for the command to add explicit ValueTuples support or use the expected property names in your request.
var query = $@ " SELECT ST.style_id as Item1, ST.style_code as Item2 ... ...";
Jeff mercado
source share