Which data model should you create?

You are a database developer on an instance of SQL Server 2008. Your Product table is defined as follows:


Your company sells two types of products identified by the ProductType column: physical and virtual. Physical products are stored in inventory locations. Virtual products, such as software downloads and subscriptions, are not stored in physical inventory locations.
You are developing an Entity Data Model (EDM) using the Entity Framework. You want to create the EDM to make virtual and physical products available while only exposing the necessary attributes for each.
Which data model should you create?
A. a data model that implements Table-per-Hierarchy inheritance
B. a data model that implements Table-per-Type inheritance
C. a data model that includes a complex type
D. a data model that implements a single entity with multiple associations

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.