Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP methods you miss
Message
 
 
To
17/05/2013 09:00:27
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01574038
Message ID:
01574185
Views:
52
>>>"strongly type" datasets assumes that you duplicate your datadictionary in your code no?
>Yes, it does.
>
>>>Doesn't that increase coupling between two components (compiled code and data in the database)
>
>The same dataset can be referring to any number of different data stores.. SQL Server, VFP, MySQL, etc. so the coupling isn't symbolic, not absolute.
>
>Frankly, I wish there were away to make the coupling tighter during development. Having to regenerate the dataset every time I change the table in the database is a pain.
>

Can you make the procedure of generating datasets Data Driven? For example, in my VFP project all CursorAdapters objects are generated on the fly based on the dictionary (simple DBF file). So I only need to change (add, remove, update) the value of the column or table that is changed in the dictionary. I though if you could store all the tables and columns in an XML file, you could create datasets on-the-fly. Or is it a science fiction? <g>.


>>>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?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform