Gets information about the SQL script for synchronizing a single table.
Namespace:
RedGate.SQLDataCompare.EngineAssembly: RedGate.SQLDataCompare.Engine (in RedGate.SQLDataCompare.Engine.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function GetMigrationSQL ( _ session As ComparisonSession, _ tableDifference As TableDifference, _ runOnTwo As Boolean _ ) As ExecutionBlock |
C# |
---|
public ExecutionBlock GetMigrationSQL( ComparisonSession session, TableDifference tableDifference, bool runOnTwo ) |
Visual C++ |
---|
public: ExecutionBlock^ GetMigrationSQL( ComparisonSession^ session, TableDifference^ tableDifference, bool runOnTwo ) |
Parameters
- session
- Type: RedGate.SQLDataCompare.Engine..::.ComparisonSession
The ComparisonSession used to compare the databases.
- tableDifference
- Type: RedGate.SQLDataCompare.Engine..::.TableDifference
The table for which the the SQL script is to be retrieved.
- runOnTwo
- Type: System..::.Boolean
true if the SQL script is to be run on the second database.
Return Value
An ExecutionBlock containing the SQL code to run.Remarks
See GetMigrationSQL(ComparisonSession, Boolean) for more information.