DannyT said:
Are there any best practice/design patterns geared towards database access in OOP for .net? I.e. how to keep objects seperate from the database calls to maintain maximum reusability of classes.
Yes. . . lots! They fill bookstores with 500 page books describing them. I believe you can even get a PhD in this, too!
DannyT said:
OOP is still pretty new to me. . .
First, forget about VB.
NOT. You are going to do alot of borrowing of ideas from java/c++/delphi - VB.
NOT is so non-OOP standard in its syntactical constructs that translating it is going to wear you down.
So, if C# is new to you, get Libertys
Programming C#.
Second, I would recommend that you get Lowys book
Programming .NET Components. (People. . . if you dont own this-get it
yesterday!!!)
Now, with an understanding of C#, and Lowys Component Bible in hand, get Lothkas
Expert C# Business Objects (also available in a VB.
NOT version) and Implement the CSLA around your Database (free downloads of the framework are available at lothkas website). Supposedly the .NET 2.0 book is coming out soon and you might want to wait for that. FYI -
This 2 star review of Lothka lacks understanding of what the CSLA really is and how it is to be applied, so dont let it discourage you.
Two other general OOP books you should have on your book shelf -
Buy your books here -
www.nerdbooks.com
Tell him blair sent you!