Hard
You are using VS2010 and the .NET Framework 4.0 to develop an application. This application connects to a SQL Server database. You are using ADO.NET Entity Framework to manage persistence-ignorant entities.
You have an instance of an ObjectContext object named context. You make direct changes to the properties of several of the entities.
You need to save the values of the modified entities to the database. What code snippet will you use?
Author: Guillaume BroutStatus: PublishedQuestion passed 191 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
0
Create a class that implements the ICollection interface.1
How to use the 'using' statement in C#0
How to get the first row of a SqlDataReader in C#0
Write a LINQ query to select all rows from the first table in the dataset where the ContactName field is not null.1
How to get the first element of an array in C#0
How to get the products of a category in Dot-net2
Retrieve a list of products from a catalog in a .NET application