Overview of Database Access in.Net Josh Bowen CIS 764-FS2008.

Slides:



Advertisements
Similar presentations
Basics of Database Programming with VB6
Advertisements

Programming with ADO.NET By Sam Nasr April 27, 2004 Programming with ADO.NET By Sam Nasr April 27, 2004.
Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Chapter 10 ADO. What is ADO? ADO is a Microsoft technology ADO stands for ActiveX Data Objects ADO is a programming interface to access data in a database.
Introduction to Database Processing with ADO.NET.
Fundamentals, Design, and Implementation, 9/e Chapter 12 ODBC, OLE DB, ADO, and ASP.
The ADO Data Control. Universal Data Access Open Database Connectivity (ODBC) –standard for accessing data in databases OLE-DB –allows access to data.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Object-Oriented Application Development Using VB.NET 1 Chapter 13 Introduction to Data Access Classes and Persistence.
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Fundamentals, Design, and Implementation, 9/e COS 346 DAY 22.
Introduction to ADO.Net, VB.Net Database Tools and Data Binding ISYS 512.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Chapter 12 Database Connectivity with ASP.NET JavaScript, Third Edition.
Objective In this session we will discuss about : What is ADO. NET ?
Session-01. Hibernate Framework ? Why we use Hibernate ?
Microsoft Access Ervin Ha.
CIS 764 – Presentation Somil Chandwani.  With Microsoft Data Access Components (MDAC), developers can connect to and use data from a wide variety of.
Overview of Microsoft.Net and Vb.Net ITSE 2349 Spring 2002 Material from Microsoft.Net an Overview for ACC faculty by Stuart Laughton and Introduction.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
ADO.NET – part II August 2004 [ Marmagna Desai]. CONTENTS ADO vs ADO.NET ADO.NET – Managed providers Connecting to Database SqlConnection Selecting Database.
1 ODBC, OLE DB, ADO, and ASP. 2 Introduction  Because database applications today reside in a complicated environment, various standards have been developed.
Introduction to ADO.Net and Visual Studio Database Tools ISYS 512.
Beginning Databases with JDBC Mike Bradley Adapted from and notes by Kevin Parker, Ph.D.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Chapter 15: Using LINQ to Access Data in C# Programs.
ADO.NET A2 Teacher Up skilling LECTURE 3. What’s to come today? ADO.NET What is ADO.NET? ADO.NET Objects SqlConnection SqlCommand SqlDataReader DataSet.
Fundamentals of Database Chapter 7 Database Technologies.
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
Web Services Week 8 Aims: –Using web services as front ends to databases Objectives: –Review of relational databases –Connecting to and querying databases.
A Simple Introduction. What is ADO.net? First the word ADO stands for ActiveX Data Objects And it is an integral part of.Net Framework of Microsoft hence.
Needs for Accessing Database To make your web site more dynamic and maintainable, you can display information on your web pages that are retrieved from.
Databases and Data Access  Introduction to ADO.NET  ADO.NET objects  ADP.NET namespaces  Differences between ADO and ADO.NET.
MySQL Connection using ADO.Net Connecting to MySQL from.NET Languages.
1 Hammad Khan. COURSE CONTENTS.NET Framework And C# SQL Server 2008 ADO.NET LINQ ASP.NET Dynamics Data ASP.NET MVC framework 2 Advance C# Concepts Windows.
1 Introduction to ADO.NET Microsoft ADO.NET 2.0 Step by Step Rebecca M Riordan Microsoft Press, 2006.
ADO.NET Database access in.NET style!. Question 1 ADO is an acronym for A. Another Dang Object B. Asynchronous Data Object C. Active Disk Object D. ActiveX.
File Processing Concepts – Field – combination of 1 or more characters that is the smallest unit of data to be accessed – Record – group of related fields.
Universal Data Access and OLE DB. Customer Requirements for Data Access Technologies High-Performance access to data Reliability Vendor Commitment Broad.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
Introduction to ADO Y.-H. Chen International College Ming-Chuan University Fall, 2004.
Database, SQL, and ADO.NET- Part 1 Session 11 Mata kuliah: M0874 – Programming II Tahun: 2010.
Objectives In this lesson, you will learn to: *Identify the need for ADO.NET *Identify the features of ADO.NET *Identify the components of the ADO.NET.
Module 7: Accessing Data by Using ADO.NET
What is database?  Any Method for access info into Application from DataBase?  ODBC is standard for Accessing Data.  Problem with ODBC:  Information.
Christopher M. Pascucci.NET Programming: Databases & ADO.NET.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
Presented by Joseph J. Sarna Jr. JJS Systems, LLC
ADO.NET connections1 Connecting to SQL Server and Oracle.
Introduction to ADO.Net and VS Database Tools and Data Binding ISYS 350.
Copyright © Curt Hill Connectivity Communicating with the Database.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
Module 4 Introduction ADO.NET.
Introduction Because database applications today reside in a complicated environment, various standards have been developed for accessing database servers.
Getting Started with Oracle Berkeley DB 11gR2 and ADO.NET
ADO .NET from. ADO .NET from “ADO .Net” Evolution/History of ADO.NET MICROSOFT .NET “ADO .Net” Evolution/History of ADO.NET History: Most applications.
ASP.NET Programming with C# and SQL Server First Edition
Introduction to Database Processing with ADO.NET
Introduction to Database Processing with ADO.NET
Overview of Data Access
ADO.NET Accessing Databases in VS.NET
Overview of Data Access
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Chapter 10 ADO.
Database Applications
Introduction to ADO.Net and Visual Studio Database Tools.
Presentation transcript:

Overview of Database Access in.Net Josh Bowen CIS 764-FS2008

Introduction To best understand a technology it is often useful to look at what came before Within.net three main classes are used for database access A new technology called LINQ has been introduced with the latest.Net framework

Timeline ODBCDAOOLE DB ADORDOJDBCADO.net v1.0 ADO.net v2.0 ADO.net v3.0 LINQ This is not an exhaustive list of database access technologies There are as many DB access methods as there are stars in the sky (well almost) Each of these technologies influenced the creation of.Net database access technology

Low Level Access ODBC – Created to provide a common method for accessing databases, implemented many times by many different companies DAO,OLE DB,RDO,ADO – Created to simplify access to databases, often used ODBC, many tied to specific products such as Access or Visual Basic

JDBC Database access in Java 4 Major Classes – Driver – Specific to database type – Connection – Information about the DB to access – Statement – The SQL to execute – Results – Data retrieved from database One option was a connection to ODBC

ADO The Microsoft technology which most influenced.net Relied on 2 major classes – Connection: Information about how to connect to DB, executed queries against connection class – Recordset: Held information retrieved from DBs Built upon OLE DB ActiveX Data Objects – Based on COM

ADO.net Part of the.Net framework from the beginning Similar to ADO, but not simply a.Net version of ADO Based on three classes – Connection: DB type specific, Holds information necessary to communicate with DB – Adapter: Holds the SQL commands for SELECT, DELETE, UPDATE and ADD – Dataset: Holds the data, Can contain multiple tables and relations between tables

ADO.net cont. To make changes to data change the data in the data set, and use the adapter to propagate changes to database The dataset can be used to store information from any type of data source, only the connection and adapter are specific to database type ADO.net can be used to query other data sources like XML files

LINQ Introduced as part of the.Net framework 3.5 Completely new way to access data Select statements are made from within the language, not as strings passed to a query class Can be used to query not only databases but also collections and arrays which implement the correct interfaces

LINQ cont. Language Integrated Query – The queries are actually compiled parts of the program, complete with intellisense Currently can be used with SQL server, other database types need to be accessed using ADO.net components along with LINQ

Conclusion The history of database access within Microsoft Windows is of decreasing complexity ADO and JDBC both influenced the design of data access in.net ADO.net provides a simple yet robust method of accessing data LINQ represents a major shift in the way databases are accessed