Process Summary |
We have now successfully completed a few attempts to orchestrate and execute data migrations. Let's generalize the process and create a checklist of steps to implement a typical Data Conveyer based solution.
The procedure is very straightforward. Here is a complete list of steps to harness the power of Data Conveyer in a .NET project:
Add a reference to the DataConveyer.dll library, e.g. via "Manage NuGet Packages..." option in Visual Studio.
Create the configuration object, an instance of the OrchestratorConfig class.
Define the settings of the configuration object. It can be conveniently done during construction using the object initializer syntax or by assigning property values one at a time.
Tip |
---|
This is the most involving aspect of the process. Note that many of the settings of Data Conveyer are functions, i.e. executable code. |
Execute the GetEtlOrchestrator(OrchestratorConfig) method to obtain an instance of the orchestrator object.
Execute the ExecuteAsync method to launch the data migration process. Note that this method returns a Task<ProcessResult>, which can be awaited for.
Monitor (await) completion of the process launched in the previous step. This step is optional, but recommended.
These simple steps can be extended to include additional features, such as progress reporting, process cancellation, result evaluation, etc. However, the overall approach will stay the same.