Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP to C# re-write
Message
 
 
À
12/02/2013 16:34:25
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01565784
Message ID:
01565831
Vues:
59
>>>Narrow down all that to a simple SELECT and then return either an ADO.Net record set or an EF entity.
>>>
>>
>>I found some samples using DataTable and also apparently we have methods that operate with the datatable, so I am going to proceed this route.
>
>You could probably write this in t sql while you were reading the paper in the morning. Why mess with C# / ADO. Just munge the data on the back end an return the product (or, for that matter, return XML)

The return results depends on the passed type so I plan to return a result set anyway (although I can munch it in T-SQL also). But you're right, I'll go now with the T-SQL solution. Still playing with ADO.NET gives me some experience and I can at least see I can get the result this way also. But probably should not have wasted the time.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform