Hello comrades! I am trying to execute a query against a table that has values x, y, and z using sqlkata. However, when I execute the query I get only the first value of the first column listed. Please see below!
The enumerator should have a count of 3, for each item fetched from the database. There’s no issue with the table, when selected individually I get all the data. Does anyone have experience with this and what might be going on?
Your Get<float> requests a single float value. I wouldn’t even have expected that to work, as you are selecting three. You have to map it to an object which has three float (or double) properties x, y, z. I guess you could also map it to a named tuple?
C# devs
null reference exceptions