Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP to C# re-write
Message
 
 
To
12/02/2013 16:34:25
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01565784
Message ID:
01565845
Views:
65
>>>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)

After moving this into T-SQL it now executes twice as fast.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform