Choosing  Data Access Technologies and an Object Model Instructor : Dimara Kusuma Hakim, ST.
Data Access System Components Middleware Data Access Component   SQL Server DB2 Oracle Middleware Data Access Component   ...
Data access libraries that support client-side OLE DB ODBC ADO ADO.NET
Data Access Technologies <ul><li>Architecture of Data Access Technologies </li></ul>VBSQL.OCX Database Application ADO OLE...
Considerations for Using Earlier Technologies to Access Data <0II0ll> Legacy technology Considerations DBLibrary ODBC Gene...
Guidelines for Accessing Data When Using Databinding Consider the following guidelines for accessing data by using Databin...
Connection SqlConnection cn = new SqlConnection(“Data Source=MIA- SQLSQLINST1;InitialCatalog=AdventureWorks;Integrated Sec...
Demonstration: Connecting SQL Server to Other Data Stores In this demonstration, your instructor will explain the various ...
Upcoming SlideShare
Loading in …5
×

Data Access Technologies

412
-1

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
412
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Data Access Technologies

  1. 1. Choosing Data Access Technologies and an Object Model Instructor : Dimara Kusuma Hakim, ST.
  2. 2. Data Access System Components Middleware Data Access Component SQL Server DB2 Oracle Middleware Data Access Component SQL Server Oracle DB2 Middleware Data Access Component Client-side Components Server-side Components Data Access Technologies Desktop Computer Database Server
  3. 3. Data access libraries that support client-side OLE DB ODBC ADO ADO.NET
  4. 4. Data Access Technologies <ul><li>Architecture of Data Access Technologies </li></ul>VBSQL.OCX Database Application ADO OLEDB DB-Library SQLNCLI Client Network Library .NET Framework Data Provider for SQL Server Storage Engine Relational Engine TSQL Endpoint Server Network Library DB Server
  5. 5. Considerations for Using Earlier Technologies to Access Data <0II0ll> Legacy technology Considerations DBLibrary ODBC Generic, industry-standard; still the only option for some data sources OLE DB Available for relational and non-relational data sources SQLXML Functionality to be replaced by HTTP endpoints and new XML support in SQL Server 2005
  6. 6. Guidelines for Accessing Data When Using Databinding Consider the following guidelines for accessing data by using Databinding : Implement concurrency violation detection code Use connection pooling Filter data properly    Acquire late, release early Explicitly close connections  
  7. 7. Connection SqlConnection cn = new SqlConnection(“Data Source=MIA- SQLSQLINST1;InitialCatalog=AdventureWorks;Integrated Security=True”); cn.Open(); Server Client Execution Session Execution Environment Session ID Connection Pool SqlCommand cmd1 = new SqlCommand(“SELECT ...”, cn); SqlCommand cmd2 = new SqlCommand(“UPDATE ...”, cn); SqlDataReader rdr1 = cmd1.ExecuteReader(); SqlDataReader rdr2 = cmd2.ExecuteReader(); cn.Close(); Server Client
  8. 8. Demonstration: Connecting SQL Server to Other Data Stores In this demonstration, your instructor will explain the various ways to connect SQL Server to other data stores
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×