09.01.2013 Views

RAD Studio for Microsoft .NET - Embarcadero Technologies

RAD Studio for Microsoft .NET - Embarcadero Technologies

RAD Studio for Microsoft .NET - Embarcadero Technologies

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1.1 Developing Database Applications with <strong>RAD</strong> <strong>Studio</strong> <strong>for</strong> <strong>Microsoft</strong> .<strong>NET</strong><br />

1.1 Developing Database Applications with<br />

ADO.<strong>NET</strong><br />

ADO.<strong>NET</strong> presents a coherent programming model <strong>for</strong> exposing data access within the .<strong>NET</strong> Framework. In addition to<br />

supporting MS SQL, Oracle, and OLE DB connection components within the .<strong>NET</strong> Framework, <strong>RAD</strong> <strong>Studio</strong> includes data<br />

providers <strong>for</strong> .<strong>NET</strong> (AdoDbxClient Provider). AdoDbx supports access to MS SQL, Oracle, DB2, and Interbase. AdoDbx<br />

component designers ease the generation and configuration of AdoDbx components.<br />

If you are developing new VCL Forms applications <strong>for</strong> the .<strong>NET</strong> Framework, or you are migrating existing Win32 VCL Forms<br />

applications to the .<strong>NET</strong> Framework, <strong>RAD</strong> <strong>Studio</strong> provides continued support <strong>for</strong> existing Delphi database technologies, such as<br />

dbExpress and dbGo.<br />

This section includes conceptual in<strong>for</strong>mation about how to use <strong>RAD</strong> <strong>Studio</strong> with the ADO.<strong>NET</strong> architecture, as well as the VCL<br />

<strong>for</strong> .<strong>NET</strong> database technologies. and how to build a simple ADO.<strong>NET</strong> project.<br />

Topics<br />

Name Description<br />

AdoDbx Client Overview ( see page 5) The AdoDbx Client implements an ADO.<strong>NET</strong> 2.0 provider <strong>for</strong> all dbExpress<br />

version 4 drivers that implement the newer extended metadata added to<br />

dbExpress 4. All dbExpress drivers shipped with Delphi implement the newer<br />

extended metadata.<br />

AdoDbx Client is an implementation of the ADO.<strong>NET</strong> 2.0 Provider classes.<br />

ADO.<strong>NET</strong> Provider is a set of classes that provide database services <strong>for</strong> .<strong>NET</strong>. It<br />

provides access to relational databases, XML and application data. You can use<br />

it to develop front end database applications as well as multi-tier business<br />

applications.<br />

See .<strong>NET</strong> Framework Developer's Guide ADO.<strong>NET</strong> in the <strong>Microsoft</strong><br />

documentation <strong>for</strong> more in<strong>for</strong>mation.<br />

Here are... more ( see page 5)<br />

VCL <strong>for</strong> .<strong>NET</strong> Database <strong>Technologies</strong> ( see page 6) In most cases, the AdoDbxClient Provider provides the best database<br />

connectivity solution <strong>for</strong> your .<strong>NET</strong> applications. However, if you are developing<br />

new VCL Forms applications <strong>for</strong> the .<strong>NET</strong> Framework, or you are migrating<br />

existing Win32 VCL Forms applications to the .<strong>NET</strong> Framework, <strong>RAD</strong> <strong>Studio</strong><br />

provides continued support <strong>for</strong> existing Delphi database technologies.<br />

<strong>RAD</strong> <strong>Studio</strong> provides a migration path from Delphi database technologies running<br />

strictly on Win32 clients to the .<strong>NET</strong> Framework. In addition to being able to build<br />

new database applications using ADO.<strong>NET</strong>, you can migrate existing database<br />

applications to take advantage of .<strong>NET</strong> capabilities. The Delphi database<br />

technologies now... more ( see page 6)<br />

AdoDbx.<strong>NET</strong> Data Types ( see page 11) AdoDbx Client data types map to .<strong>NET</strong> logical types. Dependant upon the<br />

database, AdoDbx Client data types map to native data types. Where applicable,<br />

AdoDbx Client provides:<br />

• Consistent data type mapping<br />

across databases.<br />

• Logical data types mapped to<br />

.<strong>NET</strong> native types.<br />

ADO.<strong>NET</strong> Overview ( see page 14) ADO.<strong>NET</strong> is the .<strong>NET</strong> programming environment <strong>for</strong> building database<br />

applications based on native database <strong>for</strong>mats or XML data. ADO.<strong>NET</strong> is<br />

designed as a back-end data store <strong>for</strong> all <strong>Microsoft</strong> .<strong>NET</strong> programming models,<br />

including Web Forms and Web Services. Use ADO.<strong>NET</strong> to manage data in the<br />

.<strong>NET</strong> Framework.<br />

Note: BDP.<strong>NET</strong> is based on ADO.<strong>NET</strong> 1.1. AdoDbx Client is based on .<strong>NET</strong><br />

2.0.<br />

CodeGear provides tools to simplify rapid ADO.<strong>NET</strong> development using AdoDbx<br />

Client and Borland Data Providers <strong>for</strong> .<strong>NET</strong> (BDP.<strong>NET</strong>). If you are familiar with<br />

rapid application development (<strong>RAD</strong>) and object oriented programming (OOP)<br />

using properties, methods, and events, you will... more ( see page 14)<br />

3<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!