Data Synchronisation Studio : New Features

8 June 2012

With the release of Data Sync 3.0.550 we have a few new features to tell you about.

Integrated Screen Sharing

Form the Help Menu you can now initiate a Screen Sharing session with us to help you with issues that you may have. Please contact support first if you have a problem and we will see how we can help.

Project Automation

With Data Sync you can now hook the internal process to handle certain events as they happen. This allows you to call another Data Sync project of example or report the actual individual data changes.

public override void Start()
    {
        
    }

    public override void BeforeCompare(ProjectAutomationLoadResult loadResult)
    {

    }

    public override void BeforeSynchronisation(ProjectAutomationCompareResult compareResult)
    {
            
    }

    public override void End(ProjectAutomationResult result)
    {
        
    }

    public override void Error(ProjectAutomationException e)
    {
        
    }

Custom Assemblies

If you want to use external assemblies that are not part of Data Sync with Dynamic Columns you can now tell Data Sync to load these Assemblies from the Project Properties menu.

Start a Synchronisation from Code

You can now easily start a Synchronisation Operation directly from your code like this.

var op = new SynchronisationOperation();                
op.Execute(@"C:\Temp\CSV.dsprj");

If your sync is 2-way then you need a little more:

var op = new SynchronisationOperation();                
op.Key = "AAA";
op.SolutionName = "CSV";
op.SolutionPath = @"C:\Temp");

op.Execute(@"C:\Temp\CSV.dsprj");

Then if you want to control logging you can provide your own implementation for IDataSourceLog

Load a Data Source from an existing Project

In dynamic columns you may need to load data from a remote source to build some kind of Lookup or other Transformation. Rather than accessing the underlying objects you can now easily load the data source from a pre-configured Data Sync Project file.

var store = DataTableStore.LoadFrom(@"C:\Temp\CSV.dsprj");
        
foreach(var row in store.Rows) 
{
    var id = (int)row["ID"];    
}

You can also create a Dictionary from this data source easily like this:

var dict = store.ToDictionary<int>("ID");

Ouvvi

Ouvvi release 2.0.220 has also been updated to support these new Data Sync features.

| |