xSQL.SchemaCompare.SqlServer Namespace : ScriptManager Class |
The following tables list the members exposed by ScriptManager.
Name | Description | |
---|---|---|
EnableContraintScripts | Gets the collection of script fragments that enable foreign keys and check constraints. If the option ComparisonOptions.ScriptConstraintsWithNoCheck is selected. | |
Options | Gets the comparison option. | |
PostTransactionScripts | Gets the collection of script fragments that run after the main transaction. | |
PreTransactionScripts | Gets the collection of script fragments that run before the main transaction. | |
SourceDatabase | Gets the source database. | |
TargetDatabase | Gets the target database. | |
TransactionalScripts | Gets the collection of script fragments that run within the main transaction. |
Name | Description | |
---|---|---|
Execute | Overloaded. Executes the synchronization script against the default target database. | |
ExecuteEnableConstraints | Overloaded. Executes the script that enables the foreign keys and check constraints that were created with NOCHECK option by the main synchronization script. | |
GetEnableConstraintsLog | Returns the log associated with the script that enables foreign keys or check constraints. | |
GetEnableConstraintsScript | Overloaded. Returns the script that enables the foreign keys or check constraints. | |
GetLog | Returns the synchronization log which indicates the objects that are modified by the synchronization script. | |
GetScript | Overloaded. Returns the schema synchronization script for the default target database. | |
GetWarnings | Returns any warnings associated with the schema synchronization script. | |
HasEnableConstraintsScript | Indicates whether this object contains script fragments that enable the foreign keys or check constraints. | |
HasWarnings | Indicates whether the synchronization script has any warnings. | |
IsEmpty | Returns true if the synchronization script is empty. |
Name | Description | |
---|---|---|
ExecutionCanceled | Occurs when the execution of synchronization script is canceled. | |
ExecutionFailed | Occurs when the execution of synchronization script fails. | |
ExecutionProgress | Occurs during the script execution and provides progress information such as the percentage of the overall script that has been completed. | |
ExecutionStarting | Occurs before the execution of synchronization script starts. | |
ExecutionSucceeded | Occurs after the execution of synchronization script succeeds. | |
SchemaOperation | Occurs during scripting or execution and provide progress information. | |
SchemaScriptExecuted | Occurs after a script fragment executes. | |
SchemaScriptExecuting | Occurs before a script fragment executes. |
Addition | Appends two ScriptManager object together. |