Pro Entity Framework 4 0 Depositfiles_1

Việc giới thiệu SQL Server 2005 đã bắt đầu quá trình đó đã nhìn thấy. NET trở thành một phần không tách rời của công nghệ cơ sở dữ liệu SQL Server. SQL Server 2008 là bước tiến hóa tiếp theo trong câu chuyện đó. Cùng với những cải tiến cơ sở dữ liệu truyền thống trong bản phát hành mới, tập trung ngày càng tăng khi hội nhập lớn hơn và nhiều thử thách hơn với. NET . Cuốn sách này cho thấy làm thế nào để tận dụng lợi thế này tích hợp chặt chẽ và làm thế. | 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. .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.