TAILIEUCHUNG - Hướng dẫn học Microsoft SQL Server 2008 part 78

Có một bản sao cục bộ của các dữ liệu lấy được bằng một hoặc nhiều DataAdapters. DataSet này sử dụng một bản sao cục bộ của dữ liệu, do đó, các kết nối cơ sở dữ liệu không có điện. Một người sử dụng làm cho tất cả thay đổi đối với bản sao cục bộ của cơ sở dữ liệu, và sau đó yêu cầu ứng dụng cập nhật. (Cập nhật có thể xảy ra trong chế độ hàng loạt hoặc ghi lại một lúc.) DataSet duy trì thông tin về cả bản gốc và nhà nước hiện. | PartV Data Connectivity TABLE 32-3 continued Class Type Description DataSet Contains a local copy of the data retrieved by one or more DataAdapters. The DataSet uses a local copy of the data so the connection to the database isn t live. A user makes all changes to the local copy of the database and then the application requests an update. Updates can occur in batch mode or one record at a time. The DataSet maintains information about both the original and the current state of each modified row. If the original row data matches the data on the database then the DataAdapter makes the requested update. If not then the DataAdapter returns an error which the application must handle. DataSets may be typed or untyped in . They are defined in the namespace and they are not provider specific. Only the DataAdapter classes are associated with the provider. Transaction Implemented in . The transaction is by default a lightweight transactional container for a single data source. If the ADO code enlists another data source in the transaction then the transaction will transparently escalate to a distributed or multi-phase transaction with no additional coding required by the developer. Managed providers Five managed providers are included in OracleClient The Microsoft provider for the Oracle database version and later. This provider requires that the Oracle client be installed. OleDb The bridge provider for using OLEDB providers in SqlClient The Microsoft provider for SQL Server and later. Just as the OLEDB provider directly connects SQL Server and ADO the SQLClient uses a private protocol for direct connection to SQL Server from . SqlServerCe The Microsoft provider for SQL Server CE mobile edition ODBC An API used to access data in a relational or indexed sequential access method or database. Supported in SQL Server through the SQL Server Native Client ODBC driver. namespace. As noted the OracleClient .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.