Class SQLWrapperDatasetUsageResult
Inherited Members
Namespace: LemonEdge.API.Core.Tasks.Results
Assembly: LemonEdge.API.dll
Syntax
[DataContract]
public class SQLWrapperDatasetUsageResult : ServerTaskResult, ICloneable, ICloneable<SQLWrapperDatasetUsageResult>
Constructors
SQLWrapperDatasetUsageResult()
Creates a new import data result
Declaration
public SQLWrapperDatasetUsageResult()
SQLWrapperDatasetUsageResult(IEnumerable<SQLWrapperDatasetReferenceRoot>)
Creates a new import data result with the specified initial result line details
Declaration
public SQLWrapperDatasetUsageResult(IEnumerable<SQLWrapperDatasetReferenceRoot> lines)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<SQLWrapperDatasetReferenceRoot> | lines | A list of results for each line of the import so far |
Properties
Results
A list of the results for each line of the import input file
Declaration
public List<SQLWrapperDatasetReferenceRoot> Results { get; }
Property Value
| Type | Description |
|---|---|
| List<SQLWrapperDatasetReferenceRoot> |
Methods
AddReference(SQLWrapperDatasetReferenceRoot)
Adds the results of a line from the import input file
Declaration
public void AddReference(SQLWrapperDatasetReferenceRoot info)
Parameters
| Type | Name | Description |
|---|---|---|
| SQLWrapperDatasetReferenceRoot | info | The results of importing a line from the input file |
AddReference(IEnumerable<SQLWrapperDatasetReferenceRoot>)
Adds the specified results from the import input file
Declaration
public void AddReference(IEnumerable<SQLWrapperDatasetReferenceRoot> lines)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<SQLWrapperDatasetReferenceRoot> | lines |
Clone()
Creates a new instance of this class (of type SQLWrapperDatasetUsageResult) with all the same property values as this instance
Declaration
public SQLWrapperDatasetUsageResult Clone()
Returns
| Type | Description |
|---|---|
| SQLWrapperDatasetUsageResult | 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(SQLWrapperDatasetUsageResult)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(SQLWrapperDatasetUsageResult source)
Parameters
| Type | Name | Description |
|---|---|---|
| SQLWrapperDatasetUsageResult | 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 |