Data.DB
From RAD Studio API Documentation
Defines classes and functions that implement datasets, data sources, fields, and so on.
Package | dbrtl250.bpl |
---|
Contents
Classes
EDatabaseError EDatabaseError is the exception class for database errors.
EUpdateError EUpdateError is the exception class for dataset provider update errors.
IDataSetCommandSupport Interface that extends a TDataSet descendent class to support additional commands.
IDBApplication Interface for database application.
IDBScreen Interface to display device.
IDBSession IDBSession is the interface for database sessions.
IParamObject IParamObject represents the interface for classes that store a TObject in the variant value of a TParam object.
IParamStreamObject IParamStreamObject represents the interface for classes that store a TStream in the variant value of a TParam object.
IProviderSupport (deprecated) IProviderSupport is the interface that datasets use to enable a provider to represent them.
TAggregateField TAggregate field represents a maintained aggregate in a client dataset.
TArrayField TArrayField represents an Array field in a dataset.
TAutoIncField TAutoIncField is a persistent field object for an autoincrement field in a dataset.
TBinaryField TBinaryField represents an untyped binary field in a dataset.
TBlobField TBlobField represents a field in a dataset that holds a reference to a binary large object (BLOB).
TBooleanField TBooleanField represents a field containing Boolean values.
TByteField TByteField represents a field that contains a byte value in a dataset.
TBytesField TBytesField represents a bytes field in a dataset.
TCheckConstraint TCheckConstraint represents a record-level constraint on a dataset component.
TCheckConstraintClass Metaclass for the TCheckConstraint class.
TCheckConstraints TCheckConstraints contains a collection of check constraints for a dataset component.
TCheckConstraintsClass Metaclass for the TCheckConstraints class.
TCurrencyField TCurrencyField represents a field that contains currency values in a dataset.
TCustomConnection TCustomConnection is the base class for components that connect datasets to a remote source of data.
TDataLink TDataLink is a helper class used by data-aware objects to coordinate the actions of TDataSource and TDataSet, and to respond to data events.
TDataSet TDataSet is the base class for all dataset components that represent data in rows and columns.
TDataSetClass TDataSetClass is the class type of a TDataSet descendant.
TDataSetDesigner TDataSetDesigner is the base class for all dataset designers.
TDataSetField TDataSetField provides access to nested datasets.
TDataSource TDataSource provides an interface between a dataset component and data-aware controls on a form.
TDateField TDateField represents a date field in a dataset.
TDateTimeField TDateTimeField represents a date-time field in a dataset.
TDBBitConverter Extends TBitConverter to support database-specific data types.
TDefCollection TDefCollection holds the definition objects (TNamedItem) that represent the specifications for database entities such as fields or indexes.
TDetailDataLink TDetailDataLink is the ancestor to datalink classes that manage the relationships between datasets that are linked in master/detail relationships.
TExtendedField TExtendedField represents a field that contains the highest precision floating point value in a dataset.
TFieldClass TFieldClass is the class type of a TField descendant.
TFieldDef TFieldDef is a field definition that corresponds to a physical field of a record in a table underlying a dataset.
TFieldDefClass Metaclass for the TFieldDef class.
TFieldDefList TFieldDefList lists the field definition (TFieldDef) objects of a dataset in a flattened form.
TFieldDefListClass Metaclass for the TFieldDefList class.
TFieldDefs TFieldDefs holds the field definition (TFieldDef) objects that represent the physical fields underlying a dataset.
TFieldDefsClass Metaclass for the TFieldDefs class.
TFieldList TFieldList lists the fields of a dataset, flattening out the structure of any object fields.
TFieldListClass Metaclass for the TFieldList class.
TFieldOptions Represents the options for the fields of a dataset.
TFields TFields holds the field (TField) objects that represent the physical fields underlying a dataset or an object field such as TADTField and TArrayField.
TFieldsClass Metaclass for the TFields class.
TFieldsEnumerator Enumerates database fields.
TFlatList TFlatList is an abstract base class for objects that represent a flattened list of fields or field definitions.
TFloatField TFloatField represents a field that contains floating-point values in a dataset.
TFMTBCDField TFMTBCDField represents a binary-coded decimal (BCD) field in a dataset.
TGraphicField TGraphicField represents a graphics field in a dataset.
TGuidField TGuidField represents a guid field in a dataset.
TIDispatchField TIDispatchField represents an IDispatch field in a dataset.
TIndexDefClass Metaclass for the TIndexDef class.
TIndexDefs TIndexDefs holds the list of available index definitions for a table.
TIndexDefsClass Metaclass for the TIndexDefs class.
TIntegerField Represents a signed 32-bit integer field in a dataset.
TInterfaceField TInterfaceField represents an interface field in a dataset.
TLargeintField A TLargeintField object represents a large integer field in a dataset.
TLongWordField TLongWordField represents a field that contains a positive integer value in a dataset.
TLookupList TLookupList maintains a list of lookup values associated with a set of key field values.
TLookupListClass Metaclass for the TLookupList class.
TMasterDataLink TMasterDataLink allows a dataset to establish a master/detail relationship.
TMemoField TMemoField represents a memo field in a dataset.
TNamedItem TNamedItem is the base class for definitions used by datasets.
TNumericField TNumericField is the common ancestor of all the numeric fields in a dataset.
TObjectField TObjectField is the common ancestor of TADTField, TArrayField, TDataSetField, and TReferenceField components in a dataset.
TParamClass Metaclass for the TParam class.
TParamObject TParamObject represents the class used to store a TObject in the variant value of a TParam object.
TParamObjectClass Metaclass for the TParamObject class.
TParamsClass Metaclass for the TParams class.
TParamStreamObject TParamStreamObject represents the class used to store a TStream in the variant value of a TParam object.
TPlatformValueBuffer Cross-platform value buffer.
TReferenceField TReferenceField represents a REF field in a dataset.
TShortintField TShortintField represents a field that contains a small integer value in a dataset.
TSingleField TSingleField represents a field that contains a single precision floating point value in a dataset.
TSmallintField Represents a signed 16-bit integer field in a dataset.
TSQLTimeStampField TSQLTimeStampField represents a date-time field in a DBExpress dataset.
TSQLTimeStampOffsetField TSQLTimeStampOffsetField represents a date-time value with a high degree of accuracy field in a dataset.
TStringField TStringField represents a string field in a dataset.
TTimeField TTimeField represents a time field in a dataset.
TUnsignedAutoIncField TUnsignedAutoIncField is a persistent field object for an auto-increment unsigned integer value field in a dataset.
TVarBytesField TVarBytesField represents a variable-length untyped binary field in a dataset.
TVariantField TVariantField represents a variant field in a dataset.
TWideMemoField TWideMemoField represents a memo field in a dataset.
TWideStringField TWideStringField represents a large string field in a dataset.
TWordField Represents an unsigned 16-bit integer field in a dataset.
Routines
BuffersEqual Indicates whether two buffers have the same contents.
DatabaseError Creates and raises an EDatabaseError exception.
DatabaseErrorFmt Creates and raises an EDatabaseError exception with a formatted error message.
DisposeMem Frees memory.
ExtractFieldName Returns the next name in a semicolon-delimited string of field names.
GetFieldProperty Returns a TField object for a dataset and data control.
RegisterFields Registers a set of field components so that they appear in the Dataset designer.
VarTypeToDataType Returns the field type value that most closely corresponds to a Variant type.
Types
TAutoRefreshFlag TAutoRefreshFlag Indicates whether the server provides field values, and if so, why.
TBlobByteData TBlobByteData stores the contents of a Binary Large Object (BLOB) field.
TBlobDisplayValue Defines an enumeration used to control the behavior of TBlobField in the DB-aware controls (such as TDBGrid or TDBEdit).
TBlobStreamMode TBlobStreamMode indicates how a BLOB stream can be used.
TBookmarkFlag TBookmarkFlag is a set that is used internally.
TBookmarkStr TBookmarkStr is a bookmark represented as a string.
TBufferList Represents a list of buffers.
TConnectChangeEvent Type of function called when connection changes.
TDataAction TDataAction indicates how an application should respond to a database error condition.
TDataChangeEvent OnDataChange event handler type.
TDataEvent TDataEvent identifies an event that occurs to a dataset.
TDataOperation Procedure of object internally used by Data.DB.TDataSet.
TDataSetCommandStates Set used to specify the states of a command.
TDataSetErrorEvent TDataSetErrorEvent is the type of event handler that occurs when TDataSet raises an exception.
TDataSetState TDataSetState indicates the current operating mode of a dataset component.
TDateTimeRec TDateTimeRec represents a record holding date-time information.
TDBScreenCursor TDBScreenCursor is a set that specifies the form of the mouse cursor over the screen.
TDefUpdateMethod Procedure of object used by TDefCollection.UpdateDefs.
TFieldAttributes TFieldAttributes is a set of TFieldAttribute that indicates various field attributes.
TFieldChars TFieldChars indicates the set of characters that are valid for field.
TFieldGetTextEvent TFieldGetTextEvent is the type for event handlers that assign a field's value from a string.
TFieldKind TFieldKind indicates what type of information a field component represents.
TFieldLifeCycle Indicates the possible field types when the dataset is created.
TFieldLifeCycles Represents a set of types of fields for the field list.
TFieldNotifyEvent TFieldNotifyEvent notifies the dataset field that an event has occurred.
TFieldsAutoCreationMode Enumerates the behaviors for creating the automatic fields.
TFieldSetTextEvent TFieldSetTextEvent is the type for event handlers that assign a field's value from a string.
TFieldsPositionMode Enumerates the positions of the automatic fields relatively to the existing persistent fields.
TFieldType TFieldType is a set of values that parallels the data types of fields in tables.
TFilterRecordEvent Event handler that issues an OnFilterRecord event.
TGetMode TGetMode is a set that is used to specify the record retrieval mode for the GetRecord method.
TGroupPosInd TGroupPosInd and TGroupPosInds indicate the position of the current record within its group.
TIndexOption TIndexOption describes the attributes of an index.
TIndexOptions TIndexOptions describes the attributes of an index.
TLocateOption TLocateOption defines the values for the Options parameter of a dataset's Locate method.
TLocateOptions TLocateOptions defines the values for the Options parameter of the Locate method of a dataset.
TLookupListEntry TLookupListEntry is a record that holds key-value entries in a lookup list.
TParamType TParamType and TParamTypes represent the use of parameters on datasets that represent queries or stored procedures.
TProviderFlag TProviderFlag and TProviderFlags indicate how a provider uses a field value when applying updates.
TPSCommandType Enumeration of command types.
TRecordBuffer Represents a pointer to a memory zone used as a buffer.
TResyncMode TResyncMode is a set of flags that indicate operations a dataset should perform when resynchronizing data.
TSQLCommandType TSQLCommandType indicates how an SQL dataset specifies the command it executes.
TUpdateAction TUpdateAction Indicates how a dataset should proceed after an event handler has processed an update.
TUpdateErrorEvent TUpdateErrorEvent is the event that occurs when errors appear during the update action.
TUpdateKind TUpdateKind defines the values for the UpdateKind parameter of OnUpdateError and OnUpdateRecord event handlers.
TUpdateMode TUpdateMode indicates how to locate records so that they can be updated.
TUpdateRecordEvent TUpdateRecordEvent is the event handler that updates the records of a dataset.
TUpdateRecordTypes TUpdateRecordTypes is a set that specifies the update status that is applied to a record.
TUpdateStatus TUpdateStatus indicates the update status of a record.
Variables
DBScreen Variable used to initialize the TDefaultDBScreenApplication class.
DefaultCheckConstraintClass Variable of TCheckConstraintClass type used as result value for TCheckConstraints.GetCheckConstraintClass.
DefaultCheckConstraintsClass Variable of TCheckConstraintsClass type used as a result value for TDataSet.GetCheckConstraintsClass.
DefaultFieldClasses Array that holds references to field classes according to field types.
DefaultFieldDefClass Variable of TFieldDefClass type used as a result value for TFieldDefs.GetFieldDefClass.
DefaultFieldDefListClass Variable of TFieldDefListClass type used as a result value for TDataSet.GetFieldDefListClass.
DefaultFieldDefsClass Variable of TFieldDefsClass type used as a result value for TFieldDef.GetChildDefsClass.
DefaultFieldListClass Variable of TFieldListClass type used as a result value for TDataSet.GetFieldListClass.
DefaultFieldsClass Variable of TFieldsClass type used as a result value for TDataSet.GetFieldsClass.
DefaultIndexDefClass Variable of TIndexDefClass type used as a result value for TIndexDefs.GetIndexDefClass.
DefaultIndexDefsClass Variable of TIndexDefsClass type used as a result value for TDataSet.GetIndexDefsClass.
DefaultLookupListClass Variable of TLookupListClass type used as a result value for TField.GetLookupListClass.
LoginDialogExProc Set this variable to specify a method that will provide login information.
LoginDialogProc Set this variable to specify a method that will provide login information.
PasswordDialog Displays a dialog box that prompts the user for the password of a local password-protected table.
RegisterFieldsProc Internally used by the DB design packages.
RemoteLoginDialogProc Set this variable to specify a method that will provide login information.
ScreenCursorProc Specifies a method to change the screen cursor.
Constants
dsEditModes dsEditModes: Set = [dsEdit..dsSetKey];
dsGuidStringLength dsGuidStringLength: Integer = 26ドル;
dsMaxStringSize dsMaxStringSize: Integer = 2000ドル;
dsWriteModes dsWriteModes: Set = [dsEdit..dsNewValue,dsInternalCalc];
ftCalcFieldTypes ftCalcFieldTypes: Set = [ftString..ftVarBytes,ftFixedChar..ftLargeint,ftGuid..ftFixedWideChar,ftOraTimeStamp..ftExtended,ftTimeStampOffset,ftSingle];
ftFixedSizeTypes ftFixedSizeTypes: Set = [ftSmallint..ftCurrency,ftDate..ftDateTime,ftAutoInc,ftLargeint,ftTimeStamp,ftLongWord..ftExtended,ftTimeStampOffset,ftSingle];
ftNonTextTypes ftNonTextTypes: Set = [ftBytes..ftVarBytes,ftBlob..ftCursor,ftADT..ftDataSet];
ObjectFieldTypes ObjectFieldTypes: Set = [ftADT..ftDataSet];
sApplyUpdatesDataSetCommand sApplyUpdatesDataSetCommand: string = ApplyUpdates;
sCancelUpdatesDataSetCommand sCancelUpdatesDataSetCommand: string = CancelUpdates;