MyDAC

DBAccess Unit Members

This unit contains base classes for most of the components.

Classes

Name Description

EDAError

A base class for exceptions that are raised when an error occurs on the server side.

TCRDataSource

Provides an interface between a DAC dataset components and data-aware controls on a form.

TCustomConnectDialog

A base class for the connect dialog components.

TCustomDAConnection

A base class for components used to establish connections.

TCustomDADataSet

Encapsulates general set of properties, events, and methods for working with data accessed through various database engines.

TCustomDASQL

A base class for components executing SQL statements that do not return result sets.

TCustomDAUpdateSQL

A base class for components that provide DML statements for more flexible control over data modifications.

TDACondition

Represents a condition from the TDAConditions list.

TDAConditions

Holds a collection of TDACondition objects.

TDAConnectionOptions

This class allows setting up the behaviour of the TDAConnection class.

TDADataSetOptions

This class allows setting up the behaviour of the TDADataSet class.

TDAEncryption

Used to specify the options of the data encryption in a dataset.

TDAMapRule

Class that formes rules for Data Type Mapping.

TDAMapRules

Used for adding rules for DataSet fields mapping with both identifying by field name and by field type and Delphi field types.

TDAMetaData

A class for retrieving metainformation of the specified database objects in the form of dataset.

TDAParam

A class that forms objects to represent the values of the parameters set.

TDAParams

This class is used to manage a list of TDAParam objects for an object that uses field parameters.

TDATransaction

A base class that implements functionality for controlling transactions.

TMacro

Object that represents the value of a macro.

TMacros

Controls a list of TMacro objects for the TCustomDASQL.Macros or TCustomDADataSet components.

TPoolingOptions

This class allows setting up the behaviour of the connection pool.

TSmartFetchOptions

Smart fetch options are used to set up the behavior of the SmartFetch mode.

Types

Name Description

TAfterExecuteEvent

This type is used for the TCustomDADataSet.AfterExecute and TCustomDASQL.AfterExecute events.

TAfterFetchEvent

This type is used for the TCustomDADataSet.AfterFetch event.

TBeforeFetchEvent

This type is used for the TCustomDADataSet.BeforeFetch event.

TConnectionLostEvent

This type is used for the TCustomDAConnection.OnConnectionLost event.

TDAConnectionErrorEvent

This type is used for the TCustomDAConnection.OnError event.

TDATransactionErrorEvent

This type is used for the TDATransaction.OnError event.

TRefreshOptions

Represents the set of TRefreshOption.

TUpdateExecuteEvent

This type is used for the TCustomDADataSet.AfterUpdateExecute and TCustomDADataSet.BeforeUpdateExecute events.

Enumerations

Name Description

TLabelSet

Sets the languauge of labels in the connect dialog.

TLockMode

This enumeration defines a type of an editing record locking.

TRefreshOption

Indicates when the editing record will be refreshed.

TRetryMode

Specifies the application behavior when connection is lost.

Variables

Name Description

BaseSQLOldBehavior

After assigning SQL text and modifying it by AddWhere, DeleteWhere, and SetOrderBy, all subsequent changes of the SQL property will not be reflected in the BaseSQL property.

ChangeCursor

When set to True allows data access components to change screen cursor for the execution time.

SQLGeneratorCompatibility

The value of the TCustomDADataSet.BaseSQL property is used to complete the refresh SQL statement, if the manually assigned TCustomDAUpdateSQL.RefreshSQL property contains only WHERE clause.
© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback