Comments
Sort by recent activity
Hi bmolsbeck,
Thank you for your suggestion!
I will try the REplayUserActions method in SQLDAtaCompare.Engine.DAtaCompareUserActions. / comments
Hi bmolsbeck,
Thank you for your suggestion!
I will try the REplayUserActions method in SQLDAtaCompare.Engine.DAtaCompareUserActions.
I found the ReplayUserActions method here: namespace RedGate.SQLDataCompare.Engine
{
public static class DataCompareUserAction
{
public static List<UserActionWarning> ReplayUserActions(IList<RedGate.SQLCompare.Engine.SelectTableEvent> selectTableActions, IDataSource ds1, IDataSource ds2, ref SchemaMappings schemaMappings);
}
}
I can see where I can set the table actions and data sources from the arguments.
How to do get it to do this from actions and data sources I specified in the Project file I saved with SQL Data Compare (i.e. sdc file)?
In my previous post I listed the code I am working with ... I am calling this method: Project project2=Project.LoadFromDisk(projectName);
from the ProjectExample.cs file ... the generation of the SQL to do the update ... includes tables which are not included in the SDC file.
What do you think? / comments
I found the ReplayUserActions method here:namespace RedGate.SQLDataCompare.Engine
{
public static class DataCompareUserAction
{
public static List<UserActionWarning> ReplayUse...