Chapter 3 DESCRIBED how to use
database providers and demonstrated how to create a new one. A prerequisite for creating a database provider is the existence of a .NET managed data provider that provides an implementation for the interfaces that need to be returned for the virtual methods defined in the abstract Database base class. For example, the
SqlDatabase class derives from the
Database class and must return a class that implements the
IDataReader for the virtual
ExecuteReader method. It accomplishes this by using the
SqlDataReader classes that are provided by the .NET managed data provider for Microsoft SQL Server.