My DAL Base Class

added by corneto
1/30/2012 4:51:49 AM

-1 Kicks, 122 Views

A few days ago I wrote a small base class for the DAL layer. There are some repeating tasks involving the action of getting/setting data from a database: creating a command, establishing connection, reading the data and disposing everything in the end. In this base class I try to hide these actions and leave the programmer to deal with the important stuff.


0 comments