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 .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? Correct Answer Set the Value property of the EntityReference of the Order entity.

Related Questions

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 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 use Visual Studio .NET to create a Windows-based application. The application includes a form named XYZProcedures (EXP). EXP allows users to enter very lengthy text into a database. When users click the Print button located on EXP, this text must be printed by the default printer. You implement the printing functionality by using the native .NET System Class Libraries with all default settings. Users report that only the first page of the text is being printed. How should you correct this problem?