Table of Contents

Namespace Dynamicweb.DataIntegration.Integration

Classes

BaseActivityPreset

Extensibility point for integration activity presets. A preset is a pre-packaged integration activity offered in the administration UI (the "install preset" screen and the data import flows); when the user installs it, Install(out string) creates a ready-to-run integration activity from the preset's bundled source/destination configuration.

BaseDestinationWriter

Placeholder base class for destination writers. A destination writer receives the converted rows for a table Mapping one at a time through Write(Dictionary<string, object>) and persists them to the destination.

BaseSourceReader

Placeholder base class for source readers. A source reader is the object a source provider returns from GetReader(Mapping); the job engine drains it row by row via IsDone() and GetNext() until the source table is exhausted.

BaseSqlProvider

Base class for data integration providers that read from or write to a Microsoft SQL Server database. It extends BaseProvider with SQL-specific services: schema extraction from INFORMATION_SCHEMA (GetSqlSourceSchema(SqlConnection, IEnumerable<string>?)), foreign-key-aware ordering of a job's table mappings (OrderTablesInJob(Job, bool) and the protected ordering helpers), tracking of the rows a job affected (TotalRowsAffected) and SQL-oriented error logging (LogRunJobError(Exception, Dictionary<string, object>?)). The built-in SqlProvider, DynamicwebProvider, EcomProvider, OrderProvider and UserProvider derive from this class.

BaseSqlProvider.TablePK

A table and the foreign key parent tables it references, as read from the database's referential constraints. Used by the constraint-based ordering of table mappings.

BaseSqlReader

Base class for source readers that read rows from a Microsoft SQL Server database. A source provider returns a reader from GetReader(Mapping); the job engine then drains it row by row via IsDone() and GetNext(). The class implements ISourceReader on top of a SqlDataReader and also implements IResponseWriter, so values returned by the destination can be written back to the source table through the mapping's response column mappings.

BaseSqlWriter

Base class for destination writers that write to a Microsoft SQL Server database using the temporary-table import pattern: the writer bulk-copies the converted source rows into a temporary table named {DestinationTableName}{tempTablePrefix}, and the static helpers on this class then merge the temporary table into the main table and delete or deactivate rows that were missing from the source. Destination providers create their writer in RunJob(Job); the built-in SqlDestinationWriter, EcomDestinationWriter, OrderDestinationWriter, UserDestinationWriter and DynamicwebBulkInsertDestinationWriter all derive from this class.

Column

Represents table column

ColumnCollection

Collection of Columns

ColumnMapping

Maps a single source column to a single destination column within a table Mapping, and defines how the value is transformed on the way: optional scripting through a ScriptTypeProvider, culture-aware type conversion, null/empty handling and whether the mapping participates as a key when matching existing destination rows. Destination writers call ConvertInputValueToOutputValue(object) for every row to obtain the value to write.

ColumnMappingCollection

A collection of ColumnMappings. Provides method for save collection state xml format.

DataImportActivityConfiguration

Static helper for the "Data import" activity — the simplified, wizard-driven import flow in the administration interface, as opposed to full data integration activities managed through Job. It resolves where data import configurations are stored on disk, loads and saves the current user's working import job, and lists the saved configurations a user can start an import from.

Index

Represents a datatable index

IntegrationVariable

An immutable key/value variable that can be defined at global, group, or activity scope and referenced in mappings and conditionals using the token {@Name}.

IntegrationVariables

An ordered collection of IntegrationVariable instances for a single scope level (global, group, or activity). Supports XML serialization both as an embedded node within a job file and as a stand-alone _variables.txt file.

Job

This class describes one data transfer job. It can be saved to disk, reloaded and run again, assuming the schema of the source and the destination hasn't changed.

JobGroup

Represents a group of data integration activities. A group is a subdirectory of the integration jobs folder ("/Files/Files/Integration/jobs") that contains job XML files and, optionally, nested subgroups; groups are how activities are organized into folders in the data integration area of the administration interface. The static members enumerate groups and their job files and manage the manual sort order that is persisted in a "sort.txt" file per folder.

JobQueue

Represents job queue

JobScheduledTaskAddIn
JobTask

A request to execute a batch of data integration jobs on the background worker thread of JobQueue. Create an instance, pass it to AddToQueue(JobTask) to start execution, and poll IsJobTaskFinished(JobTask, ref bool) with the same instance to learn when the batch has finished and whether all jobs succeeded.

Mapping

Contains the table mapping part of a schema.

MappingCollection

Collection of mappings that make up a Job

MappingConditional

Used to describe the conditions that must be met for a row to be included in a job.

MappingConditionalCollection

A collection of MappingConditionals

MappingConditionalGroup

Used to describe the conditions group that must be met for a row to be included in a job.

MappingExtensions
NotificationSettings

Contains E-mails notification setings

ParentJob
RepositoriesIndexSettings

Update repository indexes

ResponseMappingAttribute

Defines if the provider supports Response mappings

Schema

Describes a schema for a datasource/Destination. Additionally, describes any additions needed to the schema, such as new Tables or columns that should be added when a job is run.

SchemaComparer

Helper class for comparing schemas and finding errors in old schemas and most recent and mapping

SchemaComparerResult

Stores information about error in Schemas/Mapping

SchemaComparerResults

Stores errors found in Schemas/Mapping

SchemaManagementFeature
SchemaSettings
ScriptTypeProvider

Extensibility point for transforming column values during a data integration job. A script type provider is attached to a ColumnMapping and its GetValue(object?) method is called for every row, receiving the source column value and returning the value to write to the destination column. Built-in implementations include Append, Prepend, Constant, Substring, NewGuid, CurrentTime and Invert (see the Dynamicweb.DataIntegration.Integration.ScriptTypes namespace).

ScriptTypeProvider<TReturnType>

Typed convenience base class for ScriptTypeProvider implementations that always return a value of TReturnType. Implement GetValueTyped(object?) instead of GetValue(object?).

ServiceCacheSettings

Contains Service Cache setings

Table

Used to describe a table in a schema.

TableCollection

A collection of tables.

TableScript

Extensibility point for processing entire source rows during a data integration job. A table script is attached to a table Mapping and its ProcessInputRow(Mapping, Dictionary<string, object>) method is called for every source row before the row is passed on to the destination, allowing the row to be inspected and modified in place. Where ScriptTypeProvider transforms a single column value, a table script sees the whole row and can implement cross-column logic such as calculated values, lookups or validation.

Enums

ConditionalGroupOperator

The operator to use when comparing input to existing rows.

ConditionalOperator

The operator to use when comparing input to existing rows.

ImportJobStorageArea

Identifies the feature area for shared import job file storage. Maps to subfolders under the Shared root.

ImportJobStorageType

Controls where import job configuration files are stored.

JobResult

JobResult values

MappingType

MappingType

NullEmptyActionType

Null or Empty Action Type

ProviderType

Represents type of provider

SchemaCompareErrorType

Type of SchemaCompareError

ScriptType

Enum used to indicate which type of scripting is active in the Column mapping.

To top