You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application.The
application connects to a Microsoft SQL Server database. The Data Definition Language (DOL) script
of the database contains the following code segment.
CREATE TABLE [Sales].[SalesOrderHeader](
[SalesOrdedD] [int] IDENTITY(1,1)NOT NULL,
(BillToAddressID][int] NOT NULL,
…CONSTRAINT [PK_SalesOrderHeader_SalesOrder1D]
PRIMARY KEY CLUSTERED ([SalesOrder1D]ASC)
)ALTER TABLE [Sales].[SalesOrderHeader]
WITH CHECK ADD CONSTRAINT [FK_SalesOrderHeader_Address]
FOREIGN KEY{[BilIToAddressID])
REFERENCES [Person] [Address](AddressID])
You create an ADO.NET Entity Framework model. You need to ensure that the entities of the model
correctly map to the DDL of the database. What should your model contain?
