Free mag vol1 | Page 883

CHAPTER 21  ADO.NET PART I: THE CONNECTED LAYER ... } When doing this, however, your code base becomes a bit harder to maintain (and less flexible) because you must add a number of runtime checks. Nevertheless, if you need to build data access libraries in the most flexible way possible, the data provider factory model provides a great mechanism for doing so. The