You need to add a new Customer to the data store without setting all the customer’s properties

You use Microsoft Visual Studio 2010 and Microsoft NET Framework 4 to create an application. You
use the ADONET Entity Data Model (EDM) to define a Customer entity. You need to add a new
Customer to the data store without setting all the customer’s properties. What should you do?

You use Microsoft Visual Studio 2010 and Microsoft NET Framework 4 to create an application. You
use the ADONET Entity Data Model (EDM) to define a Customer entity. You need to add a new
Customer to the data store without setting all the customer’s properties. What should you do?

A.
Call the Create method of the Customer object

B.
Call the CreateObject method of the Customer object

C.
Override the Create method for the Customer object

D.
Override the Save Changes method for the Customer object

Explanation:
CreateObject<T> Creates and returns an instance of the requested type .



Leave a Reply 0

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