Model Browser
http://www.entityframeworktutorial.net/model-browser-in-entity-framework.aspx
We have created our first Entity Data Model for School database in the previous section.
The visual designer of EDM does not display all the objects it creats.
It only display entities which are mapped to the database tables and views.
Model Browser gives you all the information about all the objects and functions EDM has created.
Open Model Browser by right clicking on the EDM Designer and select Model Browser from the context menu.
在EDM设计器中右键,选择Model Browser
Model browser contains all the information about the EDM, its conceptual model, storage model and mapping information as shown below.
As you can see in the above figure, model browser contains the following objects:
Diagrams: Model browser contains visual diagrams of EDM. We have seen a default visual diagram created by EDM.
You can also createmultiple diagrams for one EDM if your application has a large number of entities.
Entity Types: Entity types lists all the class types which are mapped to the database tables.
Complex Types: Complex types are the classes which are generated by EDM to contain the result of stored procedures, table-valued function etc.
These complex types are customized classes for different purposes.
Enum Types: Enum types lists all the entities which are used as Enum in entity framework.
Associations: Associations lists all foreign key relationship between the entity types.
Function Imports: Function imports lists all the functions which will be mapped to stored procedures, table-valued functions, etc.
Stored procedures and table-valued functions will be used as functions and not an entity in EF.
.Store: Store represents database schema (SSDL).
Learn about the most important class in entity framework - DbContext, in the next section.
相关文章
- MVC中@Html.DisPlayFor(model=>model.newsName)和 @Model.newsName的区别
- [转] vue v-model的详细讲解(推荐!)
- MVVM - How do I Bind the View Model to the View
- 关于对象映射(Dto->model) 思路的一些想法
- MVC5中Model层开发数据注解
- 【电动汽车】电动汽车的受控电池能量存储simulink仿真,对比了铅酸电池、锂离子电池、Nickel-Metal-Hydride Model电池
- Zhouyi-AIPU 介绍以及Model-Zoo
- 解决 VS Code 提示‘v-model‘ directives require no argument.eslint(vueno-v-model-argument)
- 数据模型(Data Model)
- v-model--双向数据绑定---:class控制样式--:style
- What is the difference between Reactjs and Rxjs?--React is the V (View) in MVC (Model/View/Controller).
- Vue知识点总结(5)——v-model(超级详细)
- ThinkPHP的四种URL模式 URL_MODEL
- Qt Model/View理解(二)---构造model(细心研读,发现超简单,Model就是做三件事:返回行数量、列数量、data如何显示。然后把model与view联系起来即可,两个例子都是如此)good