BaseDataAdapter Class

This is a Library topic for Data Abstract for .NET
This page is generated from external data, please do not update
Namespaces — Interfaces — Classes — Enums — Implements
Contents |
Overview
The BaseDataAdapter is a base class for all data adapters (both Local Data Adapters and Remote Data Adapters) available in the Data Abstract for .NET. This class doesn't provide any real data access functionality. Instead it provides several utility methods and common infrastructure used by all data adapters.
This class cannot be instantiated directly.
Location
- Assembly: RemObjects.DataAbstract.dll
- Namespace: RemObjects.DataAbstract
- Ancestry: BaseComponent | BaseDataAdapter | Descendants
Implemented interfaces
Properties
| AcceptChangesDuringFill |
|---|
|
Gets or sets a flag indicating whether all target DataTable changes made during data retrieval from the Data Abstract server should be commited. If this property is set to false then some or all data rows in the target DataTable will be marked as updated or inserted after the Fill operation is completed. The default value is true.
|
| AcceptChangesDuringUpdate |
|
Gets or sets a flag indicating whether all DataTable changes should be automatically commited after the update data is sent to the Data Abstract server should be commited. If this property is set to false then data rows in the target DataTable will remain to be marked as updated or inserted after the Update operation is completed. The default value is true.
|
| AutoLoadScripts |
|
Gets or sets flag indicating whether Business Rules Scripting API scripts should be automaically downloaded from the Data Abstract server when the data is retreved from the server.
|
| CacheSchema |
|
Gets or sets flag indicating whether Schema retrieved from the server via the ReadSchema method call should be chached in the Schema property. Setting this property to false can significantly decrease performance. The default value is true.
|
| DynamicSelect |
|
Gets or sets a flag indicating whether Data Adapter should perform queries using the Dynamic Select feature
|
| FailureBehavior |
|
Gets or sets intended Data Adapter behavior on data update errors.
|
| GetSchemaOnFirstFill |
|
Gets or sets a flag indicating whether Schema should be downloaded from the remote Data Abstract server right before the first data request. The default value is true.
|
| Schema |
|
Gets the Schema currently cached by the Data Adapter instance
|
| ScriptProvider |
|
Gets or sets Business Rules Scripting API provided that will be used to execute client-side scripts.
|
| Status |
|
Gets current status of the Data Adapter
|
Instance Methods
| constructor () protected |
|---|
|
Creates a new instance of the BaseDataAdapter class and performs the license check.
|
| constructor (Boolean) protected |
|
Creates a new instance of the BaseDataAdapter class and performs the license check unless the avoidLicenseCheck argument is set to true.
|
| constructor (IContainer) protected |
|
Creates a new instance of the BaseDataAdapter class, performs the license check and then adds the newly created instance to the provided component container.
|
| BeginInternalUpdate protected |
|
Starts asynchronous data update operation.
|
| CheckFailures protected |
|
Composes the data update failure message based on the Delta information returned from the server after the Udate call.
|
| EndInternalUpdate protected |
|
Finishes the asynchronous data update operation and performs needed cleanup actions, f.e. merges back updated AutoInc values retrieved from the server.
|
| EnterCriticalSection protected |
|
This method is called on entering a method or code region that should be accessed by a single thread only at any given moment of time. If a thread calls this method while such method is being executed then the calling thread will be paused until the critical code section is released by the blocking thread.
|
| ExitCriticalSection protected |
|
This method is called on exiting a method or code region that should be accessed by a single thread only at any given moment of time. This method sets the Status property to RemoteAdapterStatus.Idle and then releases the critical code section lock.
|
| FlushSchema |
|
Cleans up the Schema cache and sets the Schema to null.
|
| LoadScripts |
|
Downloads Business Rules Scripting API scripts from the server. In its current implementation this method downloads entire Schema from the Data Abstract server.
|
| ReadSchema |
|
Downloads the Schema from the Data Abstract server .
|
| ReadStreamerSchema protected |
|
Downloads the Schema from the Data Abstract server. This method is used when the server exposes the Schema using method that sends it using highly-optimized binary stream (opposing to the ReadSchema method that is called when the server exposes its Schema as Xml).
|
Descendants
See Also
- Local Data Adapters
- Remote Data Adapters
- Lists
- Data Abstract for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects Script for .NET: Namespaces — Classes
- Data Abstract shared: Data Types – File Types
- other editions:
- Data Abstract for Xcode: Protocols — Classes — Enums — Implements
- Data Abstract for Delphi: Interfaces — Classes — Enums — Aliases — Implements
- Data Abstract for Java: Namespaces — Interfaces — Classes — Enums — Implements
- Data Abstract for JavaScript: Objects
- Data Abstract for .NET: Namespaces — Interfaces — Classes — Enums — Implements

Product: RemObjects Data Abstract
Available Editions: Data Abstract for .NET, Delphi and Xcode