You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create anapplication. You use the ADO.NET Entity Data Model (EDM) to define a Customer entity. Youneed 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 anapplication. You use the ADO.NET Entity Data Model (EDM) to define a Customer entity. Youneed to add a new Customer to the data store without setting all the customer's properties. What should you do? Correct Answer Call the CreateObject method of the Customer object.

Related Questions

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create anapplication. The application uses the ADO.NET Entity Framework to manage customer andrelated order records. You add a new order for an existing customer. You need to associate the Order entity with the Customer entity. What should you do?
You use Microsoft Visual Studio 2010 and Microsoft ADO.NET Framework 4 to create anapplication. The application connects to a Microsoft SQL Server 2008 database. You use the ADO.NET LINQ to SQL model to retrieve data from the database. You use stored procedures to return multiple result sets. You need to ensure that the result sets are returned as strongly typed values. What should you do?
You create an assembly by using Visual Studio .NET. The assembly is responsible for writing and reading order entry information to and from an XML data file. The assembly also writes and reads values to and from the Windows registry while it is being consumed. The assembly will be distributed to client computers by using your company, XYZ, intranet. All client computers are configured to implement the default .NET security policy. You need to implement security in the assembly. What should you do?