Show: Delphi C++
Display Preferences

Datasnap.Provider

From XE2 API Documentation
Jump to: navigation, search

Defines classes that implement DataSnap provider functionality, such as providers, resolvers, packet data sets, SQL resolvers, and related functionality.

Contents

Classes

EDSWriterEDSWriter is the exception class for errors that occur when creating data packets to represent the data or metadata in a dataset.
IProviderContainer
TBaseProviderTBaseProvider is a base class for all providers that represent the data in a dataset.
TCustomPacketWriter
TCustomProviderTCustomProvider is the base class for data providers.
TCustomResolverTCustomResolver is the base class for components that apply updates on behalf of a provider.
TDataPacketWriter
TDataSetProviderTDataSetProvider provides data from a dataset and resolves updates to that dataset or its database server.
TDataSetResolverTDataSetResolver applies updates to a dataset on behalf of a provider.
TLocalAppServer
TPacketDataSetTPacketDataSet represents a data packet or delta packet that is used by a provider.
TProviderTProvider provides data to and applies updates from a client dataset.
TPutFieldInfoTPutFieldInfo contains information about a field.
TSQLResolverTSQLResolver applies updates to a database server on behalf of a provider.
TUpdateTreeTUpdateTree stores information about a delta packet on behalf of a resolver.

Routines

GetObjectProperty
GetStringProperty
VarArrayFromStringsCreates a Variant array that contains the strings in a TStrings object.
VarArrayFromWideStrings

Types

_di_IProviderContainer
PPutFieldInfoPPutFieldInfo is a pointer type to a TPutFieldInfo record.
TAfterUpdateRecordEventTAfterUpdateRecordEvent represents the type of events that occur when the associated resolver has just updated a record.
TBeforeCommitEventTBeforeCommitEvent represents the procedure type for the events that occur before committing a data set.
TBeforeUpdateRecordEventTBeforeUpdateRecordEvent represents the procedure type for the events that occur before a record is updated.
TDataRequestEventRepresents the function type for the events that occur when a provider calls its DataRequest method.
TGetDSPropsRepresents the procedure type for the events that occur when the provider adds additional information to a data packet it is creating.
TGetParamsEventRepresents the procedure type for the events that occur when the provider adds attributes to the data set.
TGetRecordOptionTGetRecordOption enumerates the types of information that can be added to data packets.
TGetRecordOptionsTGetRecordOptions is used to decide what type of information is added to data packets.
TGetTableNameEventRepresents the procedure type for the events that occur when a resolver initializes its information about the table to which it applies updates.
TInfoArrayTInfoArray is an array of TPutFieldInfo records.
TOnValidateRepresents the procedure type for the events that occur when the provider applies updates contained in a Delta packet.
TProviderDataEventRepresents the procedure type for the events that occur when the provider applies updates or retrieves data.
TProviderOptionTProviderOption and TProviderOptions influence the type of information that is communicated between client datasets and provider components.
TProviderOptionsTProviderOptions influences the type of information that is communicated between client datasets and provider components.
TPutFieldInfoTPutFieldInfo contains information about a field.
TPutFieldProcAllows to decide the procedure used when adding a new field to a data set.
TResolverErrorEventRepresents the procedure type for the events that occur when the provider fails to update a record.
TResolverResponseTResolverResponse indicates the action a resolver component should take after an OnUpdateError event handler handles an update error.

Variables

InformixLobResolves Informix rather than Oracle BLOB and CLOB fields.
MetaDataOptionMetaDataOption: Integer;
ResetOptionResetOption: Integer;
TInfoArrayTInfoArray is an array of TPutFieldInfo records.
XMLOptionXMLOption: Integer;
XMLUTF8OptionXMLUTF8Option: Integer;

Constants

grMetaDatagrMetaData: TGetRecordOption = grMetaData;
grResetgrReset: TGetRecordOption = grReset;
grXMLgrXML: TGetRecordOption = grXML;
grXMLUTF8grXMLUTF8: TGetRecordOption = grXMLUTF8;
MetaDataOptionMetaDataOption: Integer;
poAllowCommandTextpoAllowCommandText: TProviderOption = poAllowCommandText;
poAllowMultiRecordUpdatespoAllowMultiRecordUpdates: TProviderOption = poAllowMultiRecordUpdates;
poAutoRefreshpoAutoRefresh: TProviderOption = poAutoRefresh;
poCascadeDeletespoCascadeDeletes: TProviderOption = poCascadeDeletes;
poCascadeUpdatespoCascadeUpdates: TProviderOption = poCascadeUpdates;
poDisableDeletespoDisableDeletes: TProviderOption = poDisableDeletes;
poDisableEditspoDisableEdits: TProviderOption = poDisableEdits;
poDisableInsertspoDisableInserts: TProviderOption = poDisableInserts;
poFetchBlobsOnDemandpoFetchBlobsOnDemand: TProviderOption = poFetchBlobsOnDemand;
poFetchDetailsOnDemandpoFetchDetailsOnDemand: TProviderOption = poFetchDetailsOnDemand;
poIncFieldPropspoIncFieldProps: TProviderOption = poIncFieldProps;
poNoResetpoNoReset: TProviderOption = poNoReset;
poPropogateChangespoPropogateChanges: TProviderOption = poPropogateChanges;
poReadOnlypoReadOnly: TProviderOption = poReadOnly;
poRetainServerOrderpoRetainServerOrder: TProviderOption = poRetainServerOrder;
poUseQuoteCharpoUseQuoteChar: TProviderOption = poUseQuoteChar;
ResetOptionResetOption: Integer;
rrAbortrrAbort: TResolverResponse = rrAbort;
rrApplyrrApply: TResolverResponse = rrApply;
rrIgnorerrIgnore: TResolverResponse = rrIgnore;
rrMergerrMerge: TResolverResponse = rrMerge;
rrSkiprrSkip: TResolverResponse = rrSkip;
XMLOptionXMLOption: Integer;
XMLUTF8OptionXMLUTF8Option: Integer;


Personal tools
Previous Versions
Translations