Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
You are implementing a method that creates Entity Framework self-tracking entities. The method submits these entities to a WCF Service method that uses Entity Framework to add the entities to a data source. After you submit the entities, you need to ensure that the entity state indicates no changes.
Which entity method should you call?
on 9/30/2012 | Category:
ADO.NET Interview questions
| Views: 1643 |
Select from following answers:
The AcceptChanges method clears the change-tracking information for an entity and changes its state to Unchanged.
The StartTracking method instructs the change tracker on the entity to start recording any changes applied to the entity. This includes changes to scalar properties, collections, and references to other entities. This method does not reset the entity state to Unchanged.
Show Correct Answer
MeasureUp.Com | |
< Previous :
What is the purpose of an Architecture Document?
Next > :
You use SqlDataAdapter to load a DataTable with ro ...
Comments or Responses
Login to post response
More Interview Questions by Rajkatie
You use SqlDataAdapter to load a DataTable with rows from a Microsoft ...
You are writing a method to do the following: * Add a new row to a ...
You are creating a smart client application. When the application is o ...
You are creating a method to validate column values of a given DataRow ...
You must choose a method to create a new DataRow to add to a DataTable ...
You are implementing a method that uses Entity Framework to update a P ...
You are implementing a method that uses Entity Framework to insert a P ...
You are implementing a WCF Service method. The method uses Entity Fram ...
Latest Interview Questions
How to Create Database and Tables insert,edit,Delete using Procedure?
How to publish service metadata?
What is a metadata export?
How can we specify the throttling behavior for a WCF service?
What is a Throttling behavior in WCF?
Explain the functionality of the Message layer in WCF.
Give an example of a duplex service
How can you specify a duplex service?