Workshop

for RuBoard

This workshop will help reinforce the concepts covered in today's lesson.

Quiz

1:

How will Yukon affect ADO.NET development?

A1:

Yukon, the next release of SQL Server, will add extensions to ADO.NET that make server-side data access available. For example, it is likely that a namespace called System.Data.SqlServer will contain objects that enable you to open and manipulate server-side cursors . In addition, you'll be able to write stored procedures using managed code.

2:

What are the benefits of hosting the common language runtime in SQL Server?

A2:

Hosting the common language runtime in SQL Server will allow managed code to be used for server-side objects such as stored procedures, triggers, functions, and types. This means that those objects can be written in any of the more than 25 .NET languages, both the programming model and the developer tools can be leveraged, and performance can be increased.

3:

What is the primary benefit of the ObjectSpaces Framework?

A3:

ObjectSpaces abstracts the .NET Data Provider and database syntax from the client application while providing object-based access to the data. In that respect, it combines some of the features we discussed in the DataFactory class on Day 18, "Building a Data Factory," with the approach of using custom classes we discussed on Day 17, "ADO.NET in the Data Services Tier."

4:

How does ObjectSpaces accomplish its "objectification" of data?

A4:

ObjectSpaces relies on what is called a persistent class that is marked as MustInherit ( base in C#) and uses this class to create derived objects at runtime. The provider and database independence are achieved through the use of mapping files and the SqlObjectSpace and XmlObjectSpace classes.

Exercise

Your only exercise for today is to go out and create great ADO.NET applications.

for RuBoard


Sams Teach Yourself Ado. Net in 21 Days
Sams Teach Yourself ADO.NET in 21 Days
ISBN: 0672323869
EAN: 2147483647
Year: 2002
Pages: 158
Authors: Dan Fox

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net