Click or drag to resize

SyncWithDatabaseTask Class

Task which synchronizes relational model data with an external database. Expects project, preferences and callbacks to be set.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.SynchronizationSyncTaskBase
    SD.LLBLGen.Pro.ApplicationCore.SynchronizationSyncWithDatabaseTask

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Synchronization
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public class SyncWithDatabaseTask : SyncTaskBase

The SyncWithDatabaseTask type exposes the following members.

Constructors
  NameDescription
Public methodSyncWithDatabaseTask
Initializes a new instance of the SyncWithDatabaseTask class.
Top
Properties
  NameDescription
Protected propertyCallbacksSet
Gets the callbacks set.
(Inherited from SyncTaskBase.)
Public propertyCurrentProject
Gets or sets the current project.
(Inherited from SyncTaskBase.)
Public propertyDriverID
Gets the driver identifier.
Public propertyDriverToUse
Sets the driver to use. This is the driver used in the wizard.
Public propertyInvolvedElementsDescription
Gets the involved elements description. Include an Environment.NewLine to show elements on a new line. For UI binding purposes.
(Overrides SyncTaskBaseInvolvedElementsDescription.)
Public propertyPreferences
Gets or sets the preferences currently being active.
(Inherited from SyncTaskBase.)
Public propertySelectedElementsToRetrieveByUser
Gets/sets the selected elements to retrieve from the user. Creates a copy when read, and written. This is the set of elements to retrieve the meta data for from the DB. It's initially empty, set it with the elements selected by the user based on the set obtained from SelectedElementsToRetrieveFromProject
Public propertySelectedElementsToRetrieveFromProject
Gets the elements to retrieve from the project. Creates a copy when read. This is the raw list as obtained from the project, and is to be used to allow the user to make a selection start. This set isn't the set used to obtain meta-data, but a starting point to create that list. The elements to obtain meta data for from the database are stored in SelectedElementsToRetrieveByUser
Public propertySourceDescription
Gets the source description of where the task will obtain the data to sync with from.
(Overrides SyncTaskBaseSourceDescription.)
Protected propertyTaskResultDescription
Gets the task result description.
(Overrides SyncTaskBaseTaskResultDescription.)
Public propertyTypeDescription
Gets the type description of the task for UI binding purposes.
(Overrides SyncTaskBaseTypeDescription.)
Top
Methods
  NameDescription
Protected methodCollectDataToProcess
Collects the data to process in the work methods. This is done once so the data isn't collected over and over for each method. The task has to gather all data as much as possible up front.
(Inherited from SyncTaskBase.)
Protected methodCollectWork
Collects the work to be performed in the form of lambdas. The lambdas can return either a lognode with results of the work done or null if they didn't do any work e.g. due to settings being disabled.
(Overrides SyncTaskBaseCollectWork.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetAllMappingsWithTablesInSchemasWithSyncSource
Gets all mappings with tables in schemas with their sync source set to a value in toFilterOn. The mappings are for all relational model data stores.
(Inherited from SyncTaskBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPerformSync
Performs the work of this sync task class.
(Inherited from SyncTaskBase.)
Public methodSetCallbacks
Sets the callbacks to use for the operations to perform by this task.
(Inherited from SyncTaskBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from SyncTaskBase.)
Top
See Also