ADO.NET的介紹

來源:互聯網
上載者:User

標籤:style   color   使用   strong   io   資料   cti   ar   

名稱空間   //提供了在.net資料訪問中使用的類和介面

名稱空間 說明
System.Data 所有資料訪問泛型類
System.Data.Common 各個資料提供者共用的類
System.Data.EntityClient Entity Framework類
System.Data。Linq.SqlClient LINQ to Sql 提供者類
System。Data。Odbc ODBC提供者的類
System.Data。Sql 用於SqlServer資料訪問的新泛型介面和類
System.Data.SqlClient SqlServer 提供者的類
System.Data.SqlTypes SqlServer資料類型
   
   
   
   

 

 

 

 

 

 

 

 

 

 

 

 

 

資料庫專用類

類 說明
SqlCommand 用作Sql語句或預存程序調用的封裝器
SqlCommandBuilder 用於從一條Select語句中產生Sql命令
SqlConnection 用於串連資料庫
SqlDataAdapter 用於儲存select,insert,update,delete命令的類
SqlDataReader 用於只向前的串連資料讀取器
SqlParameter 用於為預存程序定義一個參數
SqlTransaction 用於資料庫事務,封裝在一個對象中。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.