ADO.NET in Context
Obviously, ADO.NET will be used primarily in the data services tier. However, in the context of an entire multi-tier application, you can think of where you'll write ADO.NET code from both the external and internal view with respect to the data services tier. Choosing an approach to take from each of these two views will lead you well on your path to designing the data services tier of a multi-tier application.
The External View
In the external view, you can think of the data services tier as a black box that exposes methods to which you make requests and from which results are returned. As mentioned previously, the code making the requests may be located in either the presentation or business services tiers, as shown in
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.