.Net Data Provider Overview

Written by Welzie

August 5th, 2010 at 4:40 pm

Posted in .Net

Tagged with ,

With no comments

Summary
This is a high level summary of the basic .Net API’s for interacting with a database. This includes a short description of each and how they relate to each other. As a developer with mainly a Java and PHP background I was unclear about how ADO.Net related to OleDb and I had no idea what was meant by the term “.Net Data Provider”. I created this because the msdn documentation is HEAVILY focused on ADO.Net and does not give a clear picture of how the many namespaces, interfaces, and classes interact. Please add comments to correct or enlighten. Note at this time the relation of .Net Providers to Nhiberante, LINQ to SQL, and Entity Framework is not covered in this post.

.Net Data Provider

System.Data

Four examples of System.Data Implementations

System.Data.SqlClient

System.Data.OleDb

System.Data.Odbc

IBM.Data.DB2.iSeries


http://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx

http://msdn.microsoft.com/en-us/library/system.data.oledb.aspx

http://msdn.microsoft.com/en-us/library/system.data.odbc.aspx

http://www-03.ibm.com/systems/i/software/access/windows/dotnet/index.html

Core Classes

  • SqlConnection
  • SqlCommand
  • SqlDataAdapter
  • SqlDataReader
Core Classes

  • OleDbConnection
  • OleDbCommand
  • OleDbDataAdapter
  • OleDbDataReader
Core Classes

  • OdbcConnection
  • OdbcCommand
  • OdbcDataAdapter
  • OdbcDataReader

Core Classes

  • iDB2Connection
  • iDB2Command
  • iDB2DataAdapter
  • iDB2DataReader

ADO.Net

  • Share/Bookmark

Related Posts

Comments

Leave a Reply