for RuBoard

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."



What must be maintained when using the pessimistic concurrency approach?

  1. Locks on data resources

  2. Database connections

  3. Events


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


True or false: Pessimistic concurrency is designed for fast, scalable applications in .NET.


What should be used when using the optimistic concurrency approach and XML?

  1. Blocks

  2. Tags

  3. DiffGrams


From the optimistic concurrency code samples, modify 14optcon.vb to utilize the DataAdapter.RowUpdated handler. When completed, this can serve as a template for all of your coding.

for RuBoard

Sams Teach Yourself ADO. NET in 24 Hours
Sams Teach Yourself ADO.NET in 24 Hours
ISBN: 0672323834
EAN: 2147483647
Year: 2002
Pages: 237 © 2008-2017.
If you may any questions please contact us: