Componentes.Terceros.RemObj.../internal/5.0.24.615/1/Data Abstract for Delphi/Samples/Local Schema/LocalSchema.Sample.html

70 lines
2.0 KiB
HTML

<html>
<head>
<link rel="stylesheet" type="text/css" href="..\styles.css">
</head>
<body>
<img src="..\..\da.png" alt="" align="right">
<!-------------------------------------------------------------------------->
<p class="h1">
<span>Local Schema Sample</span>
</p>
<h2>Purpose</h2>
<p>
A simple demo showing the use of several Data Abstract components to select/update
a range of Customer records.
</p>
<h2>Examine the Code</h2>
<p>
The Data Abstract components on the form are:
</p>
<ul>
<li>
<b>TDAConnectionManager</b>: examine its Connections property - this has a standard
collections property editor and <b>Connections[0].ConnectionString</b> supplies
an ADO connection to Northwind. If you change this to a different driver, you
will need to drop the appropriate driver on the form.
</li>
<li>
<b>TDADriverManager</b>: a singleton component that manages the drivers used by
the application. Set <b>AutoLoad</b> to <b>True</b> and <b>DriverDirectory</b>
to your folder containing <b>.DAD files</b> to be loaded when the application
starts.
</li>
<li>
<b>TDAADODriver</b>: supports ADO databases. You can drop other drivers
onto the
form, e.g. <b>TDAIBXDriver</b>, <b>TDADBXDriver</b> etc.
</li>
<li>
<b>TDABinDataStreamer</b>: handles the transfer of binary data packets. Note
the events provided - they allow you to access/modify the data packets before and
after transmission.
</li>
<li>
<b>TDASchema</b>: manages the datasets available. Double click on its icon to
invoke the <b>Schema Modeler</b>.
</li>
<li>
<b>TDABusinessProcessor</b>: handles dataset updates. Its <b>Schema</b>
component is set first followed by <b>ReferencedDataSet</b>.
</li>
<li>
<b>TDACDSDataTable</b>: a DataAbstract aware descendant of the standard ClientDataSet.
</li>
<li>
<b>TDADataSource</b>: a DataSource descendant that works with DataTables.
</li>
</ul>
<p>
&nbsp;
</p>
<p>
&nbsp;
</p>
</body>
</html>