Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# 2.0 Return DataReader object
Message
 
 
To
10/03/2012 20:10:39
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01537785
Message ID:
01537965
Views:
24
>Dmitry -- you may benefit from reading another of my blog posts about DataAccess:
>
>http://geek-goddess-bonnie.blogspot.com/2009/10/dataaccess-part-ii.html
>
>It needs updating just a bit, but I wrote that post several years ago and just haven't gone back to revise it ... I should have had the class implement IDisposable, so that it can be called from a using block, but other than that it's not a bad class. Simplistic perhaps and nees fleshing out, but you'll notice if you look at the code in the blog that every bit of the DataAccess is contained in that one class. No passing back and forth of DataAdapters, only the DataSets get passed back and forth. This keeps all of the database related stuff out of your UI, where it does NOT belong.
>
>~~Bonnie

I will revisit this post. Thank you.
"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
Reply
Map
View

Click here to load this message in the networking platform