Is it safe to write this helper method like this? Will it always close the connection? I understend if all goes well, it will, but will ExecuteReader close the connection ev
Yes it will (inside a using block like you're doing). But to access the data you probably want to use While DbDataReader.read instead of iterating over its contents.