Sideway from Sideway
Draft for Information Only


ADO.NET Component
 In This Section
 Related Sections
 See also
What's New in ADO.NET
 SqlClient Data Provider
 ADO.NET Entity Framework
 See also

ADO.NET Component

ADO.NET is a set of classes that expose data access services for .NET Framework programmers. ADO.NET provides a rich set of components for creating distributed, data-sharing applications. It is an integral part of the .NET Framework, providing access to relational, XML, and application data. ADO.NET supports a variety of development needs, including the creation of front-end database clients and middle-tier business objects used by applications, tools, languages, or Internet browsers.

In This Section

What's New in ADO.NET
Introduces features that are new in ADO.NET.

ADO.NET Overview
Provides an introduction to the design and components of ADO.NET.

Entity Framework
Describes how to create applications using the Entity Framework.

Securing ADO.NET Applications
Describes secure coding practices when using ADO.NET.

Data Type Mappings in ADO.NET
Describes data type mappings between .NET Framework data types and the .NET Framework data providers.

DataSets, DataTables, and DataViews
Describes how to create and use DataSets, typed DataSets, DataTables, and DataViews.

LINQ to DataSet
Provides information about LINQ to DataSet, including programming examples.

Retrieving and Modifying Data in ADO.NET
Describes how to connect to a data source and how to retrieve and modify data using Commands, DataReaders and DataAdapters.

SQL Server and ADO.NET
Describes how to work with features and functionality that are specific to SQL Server.

Oracle and ADO.NET
Describes features and behaviors that are specific to the .NET Framework Data Provider for Oracle.

Related Sections

Language-Integrated Query (LINQ) - C#
Provides links to LINQ topics and samples using C#.

Language-Integrated Query (LINQ) - Visual Basic
Provides links to LINQ topics and samples using Visual Basic.

WCF Data Services 4.5
Describes how to use WCF Data Services to deploy data services on the Web or an intranet that implement the Open Data Protocol (OData).

.NET Framework Development Guide
Provides links to information about standard development tasks in the .NET Framework.

Samples and tutorials
Provides a list of .NET samples and tutorials.

See also

What's New in ADO.NET

The following features are new in ADO.NET in the .NET Framework 4.5.

SqlClient Data Provider

The following features are new in the .NET Framework Data Provider for SQL Server in .NET Framework 4.5:

  • The ConnectRetryCount and ConnectRetryInterval connection string keywords (ConnectionString) let you control the idle connection resiliency feature.

  • Streaming support from SQL Server to an application supports scenarios where data on the server is unstructured. See SqlClient Streaming Support for more information.

  • Support has been added for asynchronous programming. See Asynchronous Programming for more information.

  • Connection failures will now be logged in the extended events log. For more information, see Data Tracing in ADO.NET.

  • SqlClient now has support for SQL Server's high availability, disaster recovery feature, AlwaysOn. For more information, see SqlClient Support for High Availability, Disaster Recovery.

  • A password can be passed as a SecureString when using SQL Server Authentication. See SqlCredential for more information.

  • When TrustServerCertificate is false and Encrypt is true, the server name (or IP address) in a SQL Server SSL certificate must exactly match the server name (or IP address) specified in the connection string. Otherwise, the connection attempt will fail. For more information, see the description of the Encrypt connection option in ConnectionString.

    If this change causes an existing application to no longer connect, you can fix the application using one of the following:

    • Issue a certificate that specifies the short name in the Common Name (CN) or Subject Alternative Name (SAN) field. This solution will work for database mirroring.

    • Add an alias that maps the short name to the fully-qualified domain name.

    • Use the fully-qualified domain name in the connection string.

  • SqlClient supports Extended Protection. For more information about Extended Protection, see Connecting to the Database Engine Using Extended Protection.

  • SqlClient supports connections to LocalDB databases. For more information, see SqlClient Support for LocalDB.

  • Type System Version=SQL Server 2012; is new value to pass to the Type System Version connection property. The Type System Version=Latest; value is now obsolete and has been made equivalent to Type System Version=SQL Server 2008;. For more information, see ConnectionString.

  • SqlClient provides additional support for sparse columns, a feature that was added in SQL Server 2008. If your application already accesses data in a table that uses sparse columns, you should see an increase in performance. The IsColumnSet column of GetSchemaTable indicates if a column is a sparse column that is a member of a column set. GetSchema indicates if a column is a sparse column (see SQL Server Schema Collections for more information). For more information about sparse columns, see Using Sparse Columns.

  • The assembly Microsoft.SqlServer.Types.dll, which contains the spatial data types, has been upgraded from version 10.0 to version 11.0. Applications that reference this assembly may fail. For more information, see Breaking Changes to Database Engine Features.

ADO.NET Entity Framework

The .NET Framework 4.5 adds APIs that enable new scenarios when working with the Entity Framework 5.0. For more information about improvements and features that were added to the Entity Framework 5.0, see the following topics: What’s New and Entity Framework Releases and Versioning.

See also




ID: 201000013 Last Updated: 10/13/2020 Revision: 0 Ref:



  1. Active Server Pages,  ,
  2. ASP Overview,  ,
  3. ASP Best Practices,  ,
  4. ASP Built-in Objects,  ,
  5. Response Object,  ,
  6. Request Object,  ,
  7. Server Object (IIS),  ,
  8. Application Object (IIS),  ,
  9. Session Object (IIS),  ,
  10. ASPError Object,  ,
  11. ObjectContext Object (IIS),  ,
  12. Debugging Global.asa Files,  ,
  13. How to: Debug Global.asa files,  ,
  14. Calling COM Components from ASP Pages,  ,
  15. IIS ASP Scripting Reference,  ,
  16. ASP Keywords,  ,
  17. Creating Simple ASP Pages,  ,
  18. Including Files in ASP Applications,  ,
  19. ASP Overview,  ,
  20. FileSystemObject Object,  ,
  21.,  , ADO Object Model
  22. ADO Fundamentals,  ,

Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna

Home 5






Hobbies 8


Chinese 1097

English 339

Reference 79


Hardware 249


Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19


Web 289

Unicode 504


CSS 65

SVG 46


OS 429

DeskTop 7

Python 72



Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21


Tables 8


Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5


Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1

Copyright © 2000-2023 Sideway . All rights reserved Disclaimers last modified on 06 September 2019