Are you making a true data provider class (yucky) or do you just want to put your data access layer into a COM component (class) to hide the complexity from the user interface?