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

Summary

In this hour, you've seen the advantages of using automatically generated commands via the CommandBuilder object. Not only does this simplify coding, but it also makes your code much more consistent and easy to maintain. Even though you are limited to single-table data accesses when using this capability, you shouldn't run into that many cases where you can't take advantage of the CommandBuilder. Remember, the CommandBuilder is using the optimistic concurrency model. And luckily, when you are using the VS .NET Enterprise Architect, you can leverage off the same automatically generated code while building the DataAdapter instances for your forms development. Coding life just got a lot easier.

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