O'Reilly logo

Sams Teach Yourself ADO.NET in 24 Hours by Paul Bertucci, Jason Lefebvre

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Workshop

These quiz questions are designed to test your knowledge of the material covered in this chapter. The answers to the quiz questions can be found in Appendix A, “Answers to Quizzes.”

Quiz

1:What must be maintained when using the pessimistic concurrency approach?
  1. Locks on data resources

  2. Database connections

  3. Events

2:In general, how is optimistic concurrency implemented?
  1. Compare original values to current values in the data source

  2. Identify key changes, then commit updates

  3. Delete old values, then insert new values

3:True or false: Pessimistic concurrency is designed for fast, scalable applications in .NET.
4:What should be used when using the optimistic concurrency approach and XML?
  1. Blocks

  2. Tags

  3. DiffGrams

Exercise

From the optimistic concurrency ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required