Building a .NET Data Provider

The .NET Data Providers you have learned about in this book were all built using the classes and interfaces in the System.Data and System.Data.Common namespaces, as discussed on Day 8, “Understanding .NET Data Providers.” The existence of the classes and interfaces provides a pattern or template that developers can use when implementing providers. Not surprisingly, you can also build your own .NET Data Provider. This section will discuss why you might want to embark on this task, some alternatives, and the different forms the provider might take. The section ends with a discussion and a code sample of a simple provider that the ComputeBooks organization might implement to more easily expose and work with XML documents ...

Get Sams Teach Yourself ADO.NET in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.