现在我要来为上面一节末尾给出的数据库(SchoolDB)创建实体数据模型: SchoolDB数据库的脚本我已经写好了,如下: USE master GO IF EXISTS(SELECT * FROM sys.sysdatabases WHERE name='SchoolDB') DROP DATABASE SchoolDB; GO CREATE DATABASE SchoolDB GO USE SchoolDB; GO --创建Standard表 IF EXISTS (SELECT * FRO…
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 …