✅ Mapping IDataReader into typed class
I'm trying to get data from IDataReader into a typed model object. What I'm trying in my model is the following method:
and at my API class where I'm trying to fetch data from the ADX cluster, I'm calling the following method:
However I keep getting
Index was outside the bounds of the array
as error
Which index? the ["id"]
ones? what am I missing?2 Replies
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
Am I using both? oh dear.. hang on 😅
That was the issue, thanks!