Using Reflection to Load a Class in ASP.NET

Last week, we took a look at creating a DAL that would allow us to swap out database providers without having to rewrite a lot of our code.  The only problem with the code I showed you is that you still have to change code whenever you swap databases.  This is not very flexible.

(more…)

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Tuesday, March 18th, 2008

Swapping the DAL Abstractly

Last Thursday, we looked at how to replace the TableAdapter with our own TableAdapter as a way or eliminating our dependence on Microsoft SQL.  The problem with this implementation is that every time you want to switch databases, you’ll need to switch what TableAdapter the code is using.

(more…)

Wednesday, March 12th, 2008