Class CompareDatabaseParameters
The server task parameters for comparing databases
Holds the parameter for another database alias to compare this current database to
Compares all tables between two databases and results on any differences by table/key.Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.API.Tasks.Parameters
Assembly: API.dll
Syntax
[DataContract]
[ServerTaskParameters("Compare Databases", "1B830EBD-35B2-4400-9A04-A21A48FC2CFB", Description = "Compares all tables between two databases and results on any differences by table/key.")]
public class CompareDatabaseParameters : ServerTaskParameter, ICloneable, ICloneable<CompareDatabaseParameters>, INotifyPropertyChanged
Fields
UNIQUE_TASK_ID
The unique id of the compare databases calculation server task
Declaration
public const string UNIQUE_TASK_ID = "1B830EBD-35B2-4400-9A04-A21A48FC2CFB"
Field Value
Type | Description |
---|---|
System.String |
Properties
DatabaseAlias
The database alias to connect to and compare to the current system.
If this is running from a service this needs to be one of the database aliases that service connects to.
If directly connected to the database, this can be a name of a database on the same serverDeclaration
public string DatabaseAlias { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clone()
Declaration
public CompareDatabaseParameters Clone()
Returns
Type | Description |
---|---|
CompareDatabaseParameters |
CopyFromParam(SerializedParam)
Declaration
protected override void CopyFromParam(SerializedParam source)
Parameters
Type | Name | Description |
---|---|---|
SerializedParam | source |
Overrides
CopyFromSource(CompareDatabaseParameters)
Declaration
public void CopyFromSource(CompareDatabaseParameters source)
Parameters
Type | Name | Description |
---|---|---|
CompareDatabaseParameters | source |
CreateNewParam()
Declaration
protected override SerializedParam CreateNewParam()
Returns
Type | Description |
---|---|
SerializedParam |
Overrides
GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)
Returns that this is a compare database task against the specified database alias
Declaration
public override string GetUserFriendlyTaskInstanceIdentityInfo(IServerTask task)
Parameters
Type | Name | Description |
---|---|---|
IServerTask | task | The server task for processing this algorithm |
Returns
Type | Description |
---|---|
System.String | A string stating that this is a compare database task against the specified database alias |
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged