tailieunhanh - CHAPTER 3 ■ THE ENTITY DATA MODEL INSIDE AND OUT The Designer is the tool that allows you to work

CHAPTER 3 ■ THE ENTITY DATA MODEL INSIDE AND OUT The Designer is the tool that allows you to work with the EDM and provides the functionality developers need to create, modify, and update the EDM. The Designer consists of several components to assist you in designing and editing your conceptual model. Figure 3-2 shows the different components, including the following: • • • • Designer surface: A visual surface for creating and modifying the conceptual model. Mapping Details window: The location where mappings are created or modified. The window is discussed later in the chapter. Toolbox: Contains controls that can. | CHAPTER 3 THE ENTITY DATA MODEL INSIDE AND OUT The Designer is the tool that allows you to work with the EDM and provides the functionality developers need to create modify and update the EDM. The Designer consists of several components to assist you in designing and editing your conceptual model. Figure 3-2 shows the different components including the following Designer surface A visual surface for creating and modifying the conceptual model. Mapping Details window The location where mappings are created or modified. The window is discussed later in the chapter. Toolbox Contains controls that can be used to create entities associations and inheritance relationships. Model Browser window Provides a view of the conceptual model and the associated storage model. Model Browser Window The Model Browser window provides a tree view of the conceptual and storage models that are defined in the EDM specifically the .edmx . The information in this window is organized by the type of information contained within the window as shown in Figure 3-2. The first node displays the information found in the conceptual model such as entities and associations. The second node displays the storage model components . those components of the database that have been imported into the model such as tables views and stored procedures. Within the Model Browser window you can Locate an entity on the Designer surface by right-clicking the entity and selecting Show in Designer from the context menu Delete objects from the storage model including stored procedures tables and views Create function imports from stored procedures by right-clicking on a stored procedure and selecting Add Function Import from the context menu Update the model from the database As you select items in the Model Browser window these items become the active object in the Properties and Mapping windows making it easy to modify and work with EDM objects. 37 CHAPTER 3 THE ENTITY DATA MODEL INSIDE AND OUT Figure 3-2. .

TỪ KHÓA LIÊN QUAN