Getting Started with Oracle Berkeley DB 11gR2 and ADO.NET

Slides:



Advertisements
Similar presentations
Unit 1: Overview of the Microsoft.NET Platform
Advertisements

Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Chapter 12: Using ADO.NET 2.0 Programming with Microsoft Visual Basic 2005, Third Edition.
Introduction to Database Processing with ADO.NET.
4/17/2017 7:07 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Objective In this session we will discuss about : What is ADO. NET ?
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
SQLite and the.NET Framework This PPT:
.NET framework’s Versions .NET Framework Version Microsoft started development on the.NET Framework in the late 1990s originally under the name of Next.
SQL Server 2008 Basmah AlQadheeb-213 MIS What is a Database ? A database is a collection of Data that is organized so that it can easily be accessed,
Overview of Database Access in.Net Josh Bowen CIS 764-FS2008.
From VS C# 2010 Programming, John Allwork 1 VS2010 C# Programming - DB intro 1 Topics – Database Relational - linked tables SQL ADO.NET objects Referencing.
CIS 764 – Presentation Somil Chandwani.  With Microsoft Data Access Components (MDAC), developers can connect to and use data from a wide variety of.
Chapter 1 Introduction Outstanding Features About This Book 1. A novel writing style is adopted to try to attract students’ or beginning programmers’ interesting.
Some Basic Database Terminology
1 Working with MS SQL Server. 2 Objectives You will be able to Use Visual Studio for GUI based interactive access to a Microsoft SQL Server database.
Databases and LINQ Visual Basic 2010 How to Program 1.
Programming with Visual Basic.NET An Object-Oriented Approach  Chapter 8 Introduction to Database Processing.
Introduction to ADO.Net and Visual Studio Database Tools ISYS 512.
Session 1 - Introduction and Data Access Layer
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.
Chapter 15: Using LINQ to Access Data in C# Programs.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
1 Databound Controls. 2 Objectives You will be able to use design time data binding to display and update SQL Server database data without writing any.
Scalable Game Development William Roberts Senior Game Engineer
1 Working with MS SQL Server Textbook Chapter 14.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Working with MSSQL Server Code:G0-C# Version: 1.0 Author: Pham Trung Hai CTD.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
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.
Module 7: Accessing Data by Using ADO.NET
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Introduction to ADO.NET ADO.NET - Lesson 01  Training time: 10 minutes  Author:
Object Oriented Software Development 10. Persistent Storage.
Lesson 3 Getting started and Installing Web Matrix Getting started and Installing Web Matrix.
 Database Administration Installing Oracle 11g & Creating Database.
Crystal Reports Training
1 Chapter 20 – Data sources and datasets Outline How to create a data source How to use a data source How to use Query Builder to build a simple query.
Mauricio Featherman, Ph.D. Washington St. University
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Introduction Because database applications today reside in a complicated environment, various standards have been developed for accessing database servers.
CSCI 3327 Visual Basic Chapter 13: Databases and LINQ UTPA – Fall 2011.
Chapter 9 Working with Databases. Copyright © 2011 Pearson Addison-Wesley Introduction In this chapter you will learn: – Basic database concepts – How.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
1 Adding a Model. We have created an MVC web app project Added a controller class. Added a view class. Next we will add some classes for managing movies.
Mobile Device Development
Integrating Data Lesson 6.
Introduction ITEC 420.
Introducing the Microsoft® .NET Framework
ASP.NET Programming with C# and SQL Server First Edition
Introduction to Database Processing with ADO.NET
Introducing the Windows Mobile development
Introduction to Database Processing with ADO.NET
Visual Basic 2010 How to Program
Lecture 6 VB.Net SQL Server.
ADO.NET Accessing Databases in VS.NET
Populating a Data Warehouse
Populating a Data Warehouse
Database Applications
These slides are for reference only. They are not "lecture notes"
Install MySQL Community Server and MySQL Workbench
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Introduction to ADO.Net and Visual Studio Database Tools.
Presentation transcript:

Getting Started with Oracle Berkeley DB 11gR2 and ADO.NET

Scope.NET Platforms 3.5 and higher running on Windows 32 and x64 bit platforms including Windows XP and Windows Server Vista Windows 7 Using Berkeley DB with ADO.NET and building applications using. NET languages such as C# and Visual Basic This tutorial and sample application uses C# Windows Mobile Platform and the Compact Framework is beyond the scope of this tutorial.

Building and Using ADO.NET Support with Oracle Berkeley DB Installation and Configuration ADO.NET Data Provider Documentation Optional Components Berkeley DB ADO.NET Application Introduction Project Reference Core Objects Used Classes Running BerkeleyDBwithADO

Installation and Configuration Required Software ADO.NET Package Includes Berkeley DB 11gR2 ( ) Visual Studio 2008 or 2010 Professional Download ADO.Net Package BDB SQL ADO.NET Package Expand and Build ADO.NET driver Expand dbsql-adodotnet zip or greater

Installation and Configuration Expand and Build ADO.NET driver Open SQLite.NET.2008 or SQLite.NET.2010 Select Load Project Normally on Security Warning Message see next slide Solution Configuration either DebugNativeOnly or ReleaseNativeOnly Solution Platform win32 (or x64) Win32 used here Build Project System.Data.SQLite.2008 Optionally build entire solution SQLITE.Interop.dll created either way Debug and run project named test All tests should run successfully after select run command

Building ADO.NET Support with Berkeley DB

Building ADO.NET Support with Oracle Berkeley DB Installation and Configuration ADO.NET Data Provider Documentation Optional Components Berkeley DB ADO Application Introduction Project Reference Core Objects Used Classes Running BerkeleyDBwithADO

Access Berkeley DB databases using the.NET Framework (Version 3.5) sork The build created required dll’s for ADO.NET System.Data.SQLite.dll is a custom data provider of System.Data.dll Contains overloaded classes Needed at design time and runtime Mixed assembly SQLite.Interop.dll Needed at runtime Copy to.exe directory. ADO.NET - Data Provider

ADO.NET - Documentation SQLite.NET Help File System.Data.SQLite Object Browser

Building ADO.NET Support with Berkeley DB ADO.NET Documentation to use

Optional Components are created if all requirements met and you build the Linq and/or SQLiteDesigner project files System.Data.SQLite.Linq.dll.Net Framework 3.5 SP1. SQLiteDesigner.dll SQLite.Designer requires Microsoft Visual Studio SDK. ADO.NET - Optional Components

Optionally can build the dbsql shell and Berkeley DB library for access outside of ADO.NET Open dbsql-adodotnet- 5.2.nn\build_windows\Berkeley_DB.sln Build solution file see Using the ADO.NET DriverUsing the ADO.NET Driver If plan to use more than dbsql, recommend downloading Berkeley DB Kit Berkeley DB Downloads Optional Components - dbsql

Building ADO.NET Support with Oracle Berkeley DB Installation and Configuration ADO.NET Data Provider Documentation Optional Components Berkeley DB ADO Application Introduction Project Reference Core Objects Used Classes Running BerkeleyDBwithADO

Application Introduction Visual Studio C# Windows Application Built using Visual Studio Professional 2008 Berkeley DB database using ADO.NET to perform CRUD operations Schema (subset of a real License Manager App) _idd * (text) user_id (text) app_package (text) Desc (text)

The License Application - Introduction Sample Data Row Downloaded fastvpn package _idd * “USER01~com.swcompany.fastvpn” User “USER01” app_package “com.swcompany.fastvpn” Desc (text) “ultra secure and fast vpn” Use Visual Studio to examine the application in more detail

Application Project Reference

Core Objects Used SQLiteConnection Establish Connection to Berkeley DB Database SQLiteDataAdapter Populates a DataSet and resolves updates with Berkeley DB Transmits changes made to the grid back to Berkley Db Dataset In-memory representation of data retrieved from Berkeley DB. DataSet consists of a collection of DataTable objects DataGridView Binds to Berkeley DB Data Source

ADO.NET Application – Class Files frmBerkeleyDB.cs Main Form Contains UI for Grid and CRUD operations Contains DataGridView Implements Save changes and Exit application Program.cs By Convention, the entry point for the BerkeleyDBwithADO application frmSignon.cs Simple signon form to identify use and assist in creating primary keys Needed when Synchronization is added

Running BerkeleyDBwithADO About to Insert a new package

Running BerkeleyDBwithADO Package inserted in Grid

Running BerkeleyDBwithADO File Save to Berkeley DB

Running BerkeleyDBwithADO Start Delete Operation highlight rows

Running BerkeleyDBwithADO Press Delete Key just before saving changes

Running BerkeleyDBwithADO Restart application to confirm changes

End of Tutorial