segunda-feira, 29 de agosto de 2011

on

System.Data
System.Data.OleDb
System.Data.Odbc
System.Data.OracleClient
System.Data.SqlClient



Com isso, os objetos pertencentes aos Managed Providers possuem nomes
com prefixos diferentes para cada classe:



Connection
SqlClient : SqlConnect ion
OracleClient : OracleConnect ion
OleDB: OleDbConnect ion
Odbc: OdbcConnect ion

Command     
SqlClient : SqlCommand
OracleClient : OracleCommand
OleDB: OleDbCommand
Odbc: OdbcCommand

DataAdapter
SqlClient : SqlDataAdapter
OracleClient : OracleDataAdapter
OleDB: OleDbDataAdapter
Odbc: OdbcDataAdapter

DataReader
SqlClient : SqlDataReader
OracleClient : OracleDataReader
OleDB: OleDbDataReader
Odbc: OdbcDataReader


0 comentários:

Postar um comentário