Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP methods you miss
Message
From
17/05/2013 10:32:11
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01574038
Message ID:
01574197
Views:
65
>>>>Strongly-type datasets do 90% of that, plus they give you Intellisense on the columns in the datatables.
>>>
>>>I'm frankly puzzled about this one. As much as I love (and would love) to have intellisense on everything that resides in the database, to "strongly type" datasets assumes that you duplicate your datadictionary in your code no? Doesn't that increase coupling between two components (compiled code and data in the database) that we have worked very hard to de-couple?
>>
>>You have to regenerate the typed datasets after schema change. So yes, it increases coupling - but that is offset by speed enhancement and intellisense. Other parts of the code are not affected DIFFERENTLY - even using non-typed DS you would probaly would have changes if altering a field name or switching datatype from date to string unless you have very forgiving controls allowing and self-switching on datasource type.
>
>Yes I understand. But still intellisense is not there when you most need it right, when you are writing an SQL (it wasn't there in VFP either and missed as dearly), so all this strongly typed dataset business does not make a hell of a lot of (intelli)sense to me.

I think the idea is that you're not supposed to be writing SQL with the ORM tools available these days.
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform