Class CompareDatabaseResults
A compare database task result returned by the IServerTask. Holds the file name of the result of the database comparrison that was recalculated by the compare database task ( UNIQUE_TASK_ID)
Inherited Members
Namespace: LemonEdge.API.Core.Tasks.Results
Assembly: LemonEdge.API.dll
Syntax
[DataContract]
public class CompareDatabaseResults : ServerTaskResult, ICloneable, ICloneable<CompareDatabaseResults>
Constructors
CompareDatabaseResults()
Declaration
public CompareDatabaseResults()
Properties
FileName
The name of the file that is stored in the IStorageService containg the results of the database comparrison
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
string |
HasFile
Indicates if there is a file holding comparrison results. If the databases have the same data then there is no file generated. It only exists if there are differences
Declaration
public bool HasFile { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Clone()
Creates a new instance of this class (of type CompareDatabaseResults) with all the same property values as this instance
Declaration
public CompareDatabaseResults Clone()
Returns
Type | Description |
---|---|
CompareDatabaseResults | A new instance of this class with all the same property values as this instance |
CopyFromParam(SerializedParam)
Should be overridden by inheriting implementations to ensure all parameters values are copied from the specified
source
Declaration
protected override void CopyFromParam(SerializedParam source)
Parameters
Type | Name | Description |
---|---|---|
SerializedParam | source | The source instance of a SerializedParam that is of the same type as this one to copy parameter values from |
Overrides
Remarks
Used by the generic implementation of Clone()
CopyFromSource(CompareDatabaseResults)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(CompareDatabaseResults source)
Parameters
Type | Name | Description |
---|---|---|
CompareDatabaseResults | source | The source object to copy all values from. |
CreateNewParam()
Must be implemented by inheriting classes to provide a new instance of the current class type.
Used when cloning this SerializedParam to create a new instance of the same type
Declaration
protected override SerializedParam CreateNewParam()
Returns
Type | Description |
---|---|
SerializedParam | A new instance of the current SerializedParam type |