overview of ado.net whidbey wallace b. mcclure scalable development, inc. scalable development,...
TRANSCRIPT
![Page 1: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/1.jpg)
Overview ofADO.NET Whidbey
Wallace B. McClure
Scalable Development, Inc.
Scalable Development, Inc.Building systems today that perform tomorrow.
![Page 2: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/2.jpg)
EVERYTHING IS BETA.
Your mileage may vary. Anything may change between now
and shipment. December CTP of Sql Server 2005. Many thing will change between now
and Beta 3.
![Page 3: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/3.jpg)
Background
Microsoft MVP.AspInsider.Author.
![Page 4: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/4.jpg)
.NET Experiences
PDC 2000 Build (July, 2000).Book work.Visual Studio Betas.Sql Server Betas.Production applications. “Professional Programming with
ADO.NET Version 2 using Sql Server, Oracle, and MySql.”
![Page 5: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/5.jpg)
ADO.NET Whidbey Overview
Favorite Objects are still there.Connections.CommandsDatasets, DataTables, DataColumns, etc….
Evolutionary, not revolutionary.
![Page 6: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/6.jpg)
What databases are supported?
Sql Server - Client. System.Data.SqlClient.
Sql Server - Server. System.Data.Sql & System.Data.SqlServer.
Oracle. System.Data.OracleClient.ODBC. System.Data.Odbc.OleDb. System.Data.OleDb.
![Page 7: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/7.jpg)
FYI – Announced Server support for CLR Objects
IBM DB/2 8.2 – Shipping with support for .NET 1.1.
Sql Server 2005 – Ship in 2005 with support for .NET 2.0.
Oracle 10g Release 2 – Ship in 2005
![Page 8: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/8.jpg)
New Features of ADO.NET
Asynchronous operations.MARS (Sql Server 2005 only).DataType Improvements.Connection string manager. Inside the database with Sql Server
2005.
![Page 9: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/9.jpg)
Asynchronous Operations
BeginABC/EndABC style.Type of operations.
ExecuteNonQuery.ExecuteReader.ExecuteXmlReader.
Example.
![Page 10: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/10.jpg)
Asynchronous Operations
Less need for managed threads.Built into .NET 2.0.Not thread safe.Yukon supports multiple commands per
connection.Specific issue with shared memory and
Sql 7 & 2k.
![Page 11: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/11.jpg)
Multiple Active Result Sets(MARS)
Multiple open commands on a single connection.
Sql Server 2005 only.Example.
![Page 12: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/12.jpg)
DataType Improvements
Hard to get the field information through ADO.NET 1.x.
FillSchema() method only returns basic information.
GetProviderSpecificFieldType().GetDataTypeName().Example.
![Page 13: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/13.jpg)
Connection strings
Connection strings aren’t very object based.
SqlConnectionStringBuilder().Key/Value style.
![Page 14: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/14.jpg)
Inside the Sql Server 2005 database with the CLR
CLR Objects.Triggers.Stored Procedures.Functions.Aggregates.User Defined Types.
System.Data.Sql & System.Data.SqlServerExample.
![Page 15: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/15.jpg)
Other features
System.Transactions.Server enumeration.Password management.Bulk Copy.Provider Statistics.Caching support.
![Page 16: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/16.jpg)
If you want to know more about ADO.NET Whidbey/Yukon…….
http://weblogs.asp.net/wallym.http://weblogs.asp.net/despos.http://weblogs.asp.net/angelsb.http://msdn.microsoft.com.http://www.microsoft.com/sql. “Professional ADO.NET Version 2” due
in the summer of 2005. It makes a great gift. Buy 3 or 4 for the ones you love.
![Page 17: Overview of ADO.NET Whidbey Wallace B. McClure Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow](https://reader035.vdocuments.mx/reader035/viewer/2022072011/56649e2c5503460f94b1b986/html5/thumbnails/17.jpg)
Questions?
Wallace B. McClure [email protected]. http://www.scalabledevelopment.com/ http://weblogs.asp.net/wallym 865-693-3004.
END
Scalable Development, Inc.Building systems today that perform tomorrow.