Entity Framework Tutorial Basics(6):Model Browser
Model Browser:
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.
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 create multiple 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.
最新文章
- SQL Server SQL性能优化之--pivot行列转换减少扫描计数优化查询语句
- linux操作系统flash player问题--ubuntu
- 给Macbook装系统的网址
- hdu-----(3746)Cyclic Nacklace(kmp)
- tp集成支付宝担保支付
- 使用Slip.js快速创建整屏滑动的手机网页
- L9-3.安装PHP软件包
- [SinGuLaRiTy] 2017-03-30 综合性测试
- 在ABP框架中使用MapTo容易犯的错误
- IntelliJ Idea设置护眼浅绿色背景方法
- 无刷新更新listview
- MySQl数据库必会sql语句加强版
- meta 刷新
- Django---ORM中的锁和事务
- FTP文件传输服务
- jquery $.ajax $.get $.post的区别?
- windows下怎么生成github的ssh公钥
- (笨方法)利用stat函数实现ls -l filename
- 学习致用九---centos7.2+vim vundle
- Linux基础-awk使用