NEWBIE: What C# object is closest to Java ResultSet?
Posted on 2006-04-26
I'm converting an app from Java to C# (at which I'm a newbie). I'm just getting exposed to the ADO.NET "disconnected" data model. In Java, I had been relying exclusively on "ResultSets", which are "connected". Apparently, I'll need to learn something different in ADO.NET.
My particular app was modeled on (ported from, actually) a main-frame batch program. When it's "back-end processing" runs, it's guaranteed to be the only app running against the entire db at that time.
Given this, it seems to me like I don't care about whatever new wrinkles ADO.NET might have regarding data access. My old "ResultSets" should work just fine. (This is for the "back-end processing only. The UI for my app is a different story, to be covered in a later question.)
So I have two questions: Do you think my previous paragraph is true? And if so, what is the closest corollary C# has to a Java "ResultSet"?