How can change-tracking for these entities be used to update PassGuideDB?

There is MS Visual Studio 2010 and MS .NET Framework 4 application PassGuideApp.
PassGuideApp uses the ADO.NET Entity Framework.
PassGuideApp connects to the MS SQL Server database PassGuideDB.
ADO.NET selftracking entities is used for the tracking. How can change-tracking for these
entities be used to update PassGuideDB? Select two.

There is MS Visual Studio 2010 and MS .NET Framework 4 application PassGuideApp.
PassGuideApp uses the ADO.NET Entity Framework.
PassGuideApp connects to the MS SQL Server database PassGuideDB.
ADO.NET selftracking entities is used for the tracking. How can change-tracking for these
entities be used to update PassGuideDB? Select two.

A.
Use the DataContext …

B.
Use the ObjectContext …

C.
…Refresh method.

D.
…Attach method.

E.
…DetectChanges method.

F.
…ApplyPropertyChanges method.

G.
…ApplyChanges method.

H.
…SaveChanges method.

Explanation:



Leave a Reply 1

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


John Galt

John Galt

http://msdn.microsoft.com/en-us/library/vstudio/ff407090%28v=vs.100%29.aspx

The ApplyChanges method examines the change-tracking information that is contained in the graph of self-tracking entities and infers the set of operations that must be performed to reflect the changes in the database. There are two ApplyChanges methods, one for the ObjectContext and the other for the ObjectSet.