Contenido
about this workshop
elements of this syllabus are subject to change.
this three-day instructor-led workshop provides students with the knowledge and skills to develop data-access applications by using the microsoft . Net framework and microsoft visual studio 2005. The workshop describes how to access and update data in a database by using ado. Net. The workshop also describes how to create, read, and write xml data.
audience profile
this workshop is intended for corporate and independent software vendor (isv) application developers who have a desire to learn more about specific technology areas in distributed application development.
at workshop completion
after completing this course, students will be able to:
•connect to databases and read data.
•query and update databases by using commands.
•perform transactional operations.
•perform disconnected operations programmatically.
•perform disconnected operations by using visual studio 2005 wizards.
•perform xml operations on disconnected data.
•read and write xml data.
•process xml data by using the document object model dom.
session 1: unit 1: connecting to databases and reading data
this unit introduces the fundamental skills required to connect to a database and read data from the database. It describes how to use ado. Net data providers to connect to various different kinds of databases, and how to execute a query that returns a scalar value from the database. It also describes how to use connection pooling to achieve scalability, and how to handle connection events and exceptions.
lessons
•what is ado. Net?
•the process for connecting to a database and reading data
•what is connection pooling?
lab : connecting to databases and reading data
•connecting to a database
•saving a connection string securely in an application configuration file
•retrieving data from a database
•handling connection events and exceptions
•configuring and using connection pooling (if time permits)
after completing this module, students will be able to:
•describe the key features of ado. Net.
•explain the process for connecting to a database and reading data from a database.
•describe the benefits of connection pooling.
•connect to a database.
•save a connection string securely in an application configuration file.
•retrieve data from a database.
•handle connection events and exceptions.
session 2: unit 2: querying and updating databases by using commands
this unit describes how to create and run commands that return a scalar value, return a result set, update data in the database, or update the schema of the database. It also describes how to create and run parameterized commands.
lessons
•ado. Net commands
•the process for passing parameters into commands
lab : querying and updating databases by using commands
•creating and running query commands
•creating and running parameterized commands
•creating and running update commands
•using globalized formats for storing and accessing data (if time permits)
after completing this module, students will be able to:
•list the different types of ado. Net commands.
•explain the process for creating and executing parameterized commands.
•create and run query commands.
•create and run parameterized commands.
•create and run update commands.
session 3: performing transactional operations
this unit describes how to manage transactions in a . Net application at the middle tier. It describes how to write ado. Net code to start, commit, and rollback local transactions. It also describes how to specify an appropriate isolation level for a transaction, and how to enlist in distributed transactions.
lessons
•what is a transaction?
•the process for managing local transactions
•the process for managing distributed transactions
•isolation levels
lab : performing transactional operations
•performing data updates within a transaction
•choosing an appropriate isolation level for a transaction
•enlisting in a distributed transaction
•managing transactions in the data tier (if time permits)
after completing this module, students will be able to:
•describe the concept of transactional operations.
•explain the process for managing a local transaction.
•explain the process for managing a distributed transaction.
•describe the effect of setting the isolation level for a transaction.
•perform data updates within a transaction.
•choose an appropriate isolation level for a transaction.
•enlist in a distributed transaction.
session 4: performing disconnected operations programmatically
this unit describes how to create and use datasets programmatically. It describes how to create dataset, datatable, and datacolumn objects, how to populate a dataset manually, and how to load and save data by using a dataadapter. It also describes how to create in-memory views on data by using a dataview.
lessons
•what is the ado. Net disconnected model?
•the process for loading and saving data in a dataset
•what are dataviews?
lab : performing disconnected operations programmatically
•creating a dataset programmatically
•populating and saving a dataset
•adding, modifying, and deleting data in a dataset
•merging datasets
•creating and using dataviews (if time permits)
after completing this module, students will be able to:
•describe the ado. Net disconnected data model.
•explain the process for loading and saving data in a dataset.
•describe how to use dataviews to provide a view on data.
•create a dataset programmatically.
•populate and save a dataset.
•add, modify, and delete data in a dataset.
•merge datasets.
session 5: performing disconnected operations by using visual studio 2005 wizards
this unit describes how to create typed datasets, dataadapters, and tableadapters by using the tableadapter configuration wizard and the data source configuration wizard in visual studio 2005. It also describes how to write type-safe code to access data in a typed dataset.
lessons
•comparing untyped datasets with typed datasets
•what are table adapters?
•demonstration: creating a typed dataset by using visual studio 2005 wizards
lab : performing disconnected operations by using visual studio 2005 wizards
•creating a typed dataset by using the dataset designer
•loading, displaying, and saving data in a typed dataset
•adding code to a typed dataset
•creating a typed dataset by using the data source configuration wizard
•adding queries to a table adapter (if time permits)
after completing this module, students will be able to:
•explain the differences between untyped datasets and typed datasets.
•explain how table adapters work in conjunction with data tables in a typed dataset.
•describe the process for creating a typed dataset by using visual studio 2005 wizards.
•create a typed dataset by using the dataset designer.
•load, display, and save data in a typed dataset.
•add code to a typed dataset.
•create a typed dataset by using the data source configuration wizard.
session 6: performing xml operations on disconnected data
this unit describes how to read and write datasets in xml format. It describes how to read and write data only, schema only, or a combination of the two. It also describes how to read and write a dataset as a diffgram, so that modifications to the data can be retained when the dataset is serialized to xml format.
lessons
•xml representations of datasets
•what are diffgrams?
lab : performing xml operations on disconnected data
•saving a dataset as xml data
•loading a dataset from xml
•saving and loading dataset schema information
after completing this module, students will be able to:
•describe scenarios in which you can represent a dataset as xml data.
•explain how a diffgram retains information about modifications to a dataset.
•save a dataset as xml data.
•load a dataset from xml.
•save and load dataset schema information.
session 7: reading and writing xml data
this unit describes how to use the xmlreader and xmlwriter classes to serially read and write xml data. It describes how to read elements, attributes, and text content in an xml document, and perform validation against an xml schema. It also describes how to create an xml document and write elements, attributes, namespace declarations, and text content.
lessons
•the process for serially reading xml data
•the process for serially writing xml data
lab : reading and writing xml data
•writing xml data by using xmlwriter
•reading xml data by using xmlreader
after completing this module, students will be able to:
•describe the process for serially reading xml data.
•describe the process for serially writing xml data.
•write xml data by using xmlwriter.
•read xml data by using xmlreader.
session 8: processing xml data by using dom
this unit describes how to process xml data in memory by using the document object model (dom). It describes how to load an xml document into a dom tree, and validate the xml document against an xml schema. It also describes how to read existing xml content, modify xml content, and save the dom tree to an xml document.
lessons
•what is dom?
•what are dom trees?
•types of xml nodes in a dom tree
lab : processing xml data by using dom
•reading xml data by using dom
•writing xml data by using dom
after completing this module, students will be able to:
•explain what dom is and describe how to process xml data in memory by using dom.
•explain what a dom tree is and describe how to represent xml documents as a dom tree.
•list the types of nodes in a dom tree.
•read xml data by using dom.
•modify xml data by using dom.
Bueno
Muy buena organización de los temas de clase.
Stephany Lizett Soto Hernandez
Curso de Core data access with microsoft visual studio 2005 - Septiembre 2011