In an ASP.NET Core 5 MVC application, I have this call:
var result = ctx.ExecQuery<(string Item1)>("select '' as Item1");
This throws 5 compile-time errors starting at
Invalid expression term 'string'
The following works:
var result = ctx.ExecQuery<(string Item1, bool _)>("select '' as Item1");
How to create a ValueTuple containing a single member so that using bool _
can avoided?