Sample .NET Data Provider—DSP

One of the things I love most about ADO.NET is that .NET Data Providers are simple to create compared with OLE DB providers. Early in the process of writing this book, I decided to build a simple .NET Data Provider to help developers understand how to make their data stores available in ADO.NET.

The goal was to provide a (mostly) working .NET Data Provider to help provider writers understand how to build their own .NET Data Providers. If, for example, you’re creating your own .NET Data Provider and you’re having problems making your CommandBuilder class work, you can load this sample provider (source code and all) and name it CommandBuilder, stepping into the source code to see how it works.

Figure B-1 shows a very ...

Get Programming Microsoft® ADO.NET 2.0 Core Reference, 2nd Edition 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.