Entity Framework Tutorial--Model Browser

Source: Internet
Author: User

Model Browser:

In the previous chapters, we created the first Entity Data Model for schools. But the EDM designer does not fully display all the objects that he created. It only displays the selected tables and views in the database.

The Model Browser can display information about all the objects and functions created by the EDM. Right-click the EDM designer and select the Model browser in the menu to open it.

The Model browser contains all the information about the EDM, such as the conceptual model, the storage model, and the mapping relationship.

As shown, the Model browser contains the following objects:

diagrams: The Model Browser contains a visual diagram of the EDM. We can see that the EDM creates a diagram by default. Of course, if your project is large enough, you can also create multiple diagrams.

Entity Types: The Entities Type list contains the entity classes that correspond to all the mapped data tables.

Complex Types: A composite type is a type created by an EDM that corresponds to a class of stored procedures that have return values, functions that return table values, and so on. Composite types are used for different purposes.

enum Types: enum types are some enumerations that can be used for EF.

Associations: The Relationship list contains foreign key relationships between all entities.

function Imports: The Functions Import list contains the stored procedures that are mapped and the functions that return table values (functions in the database), and so on. In EF, they are used as functions (functions in a programming class) instead of as entity objects.

. Store: representing the database framework (SSDL)

Entity Framework Tutorial--Model Browser

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.