Free mag vol1 | Page 958

CHAPTER 22  ADO.NET PART II: THE DISCONNECTED LAYER The next step (which will differ slightly based on your selection in step 1) asks whether you want to use the Dataset database model or the Entity Data Model. Be sure you pick the Dataset database model (see Figure 22-16) because you have not yet looked at the Entity Framework (you’ll learn more about this in the next chapter). Figure 22-16. Choosing the database model The next step allows you to configure your database connection. If you have a database currently added to Server Explorer, you should find it listed automatically in the drop-down list. If this is not the case (or if you ever need to connect to a database you have not previously added to Server Explorer), click the New Connection button. Figure 22-17 shows the result of selecting the local instance of AutoLot. 904