Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Microsoft's position on Visual FoxPro and .NET
Message
From
11/06/2004 00:52:06
 
 
To
10/06/2004 06:31:31
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Conferences & events
Miscellaneous
Thread ID:
00908177
Message ID:
00912553
Views:
36
Walter,

It's unlikely that anything I say will prompt you to change perspective on this, but since you posed the question - the answer isn't "can you do this in ADO.NET", it should be "why are you relying on this approach to begin with?"

These types of queries belong in the database back-end to begin with. When I first moved from VFP to .NET, I was initially alarmed that I couldn't really do set-based queries against ADO.NET datasets.

But gradually, I realized that all the subsequent joins and data-munging that I had been doing against result sets could be redesigned so that the initial queries/stored procs would bring back all that I needed in the first place.

The key is to re-think the entire data access strategy and what groupings you need to bring back, and how you can leverage stored procs to do this work for you.

In the end, the ADO.NET capabilities for filters, sorting, relations, etc. are all one really 'needs'.

Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform