We now consider a simple
Books database that stores information about some Deitel books. First, we overview the database’s tables. A database’s tables, their fields and the relationships among them are collectively known as a database schema. The ADO.NET Entity Framework uses a database’s schema to define classes that enable you to interact with the database. Sections 22.5–22.7 show how to manipulate the
Books database. The database file—
Books.mdf—is provided with this chapter’s examples. SQL Server database files have the
.mdf (“master data file”) file-name extension.
The database consists of three tables:
Authors table (described in Fig. 22.3) consists ...