PrepAway - Latest Free Exam Questions & Answers

There is MS Visual Studio 2010 and MS .NET Framework 4 application PassGuideApp.

DRAG DROP
There is MS Visual Studio 2010 and MS .NET Framework 4 application PassGuideApp.
PassGuideApp uses the ADO.NET EntityFramework.
PassGuideApp connects to the MS SQL Server database PassGuideDB.
PassGuideApp needs to handle concurrency conflicts.
PassGuideApp also needs to ensure that local changes are saved in PassGuideDB.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

2 Comments on “There is MS Visual Studio 2010 and MS .NET Framework 4 application PassGuideApp.

  1. John Galt says:

    The answer seems correct. See the following link: http://msdn.microsoft.com/en-us/library/bb336792%28v=vs.110%29.aspx

    If an optimistic concurrency violation has occurred, an OptimisticConcurrencyException is thrown. You can resolve an optimistic concurrency violation by catching it, calling the Refresh method with the StoreWins or ClientWins value, and then calling SaveChanges again.

    The only thing that is not clear is why pick employees over orders:
    ‘(RefereshMode.ClientWins, employees)’
    over
    ‘(RefreshMode.ClientWins, orders)

    I’m guessing it’s another case of the question being copied wrong, or an incomplete exhibit.




    0



    0

Leave a Reply