DataItemMapping
Class DataItemMapping
Section titled “ Class DataItemMapping”Namespace: DataWarehouseAutomation.DwaModel
Assembly: DataWarehouseAutomation.dll
The individual
public class DataItemMapping
Inheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Section titled “Properties”Extensions
Section titled “ Extensions”The collection of extension Key/Value pairs.
[JsonPropertyName("extensions")][JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]public List<Extension>? Extensions { get; set; }
Property Value
Section titled “Property Value”Optional identifier as a string value to allow various identifier approaches.
[JsonPropertyName("id")][JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]public string? Id { get; set; }
Property Value
Section titled “Property Value”SourceDataItems
Section titled “ SourceDataItems”[JsonPropertyName("sourceDataItems")]public List<IDataItem> SourceDataItems { get; set; }
Property Value
Section titled “Property Value”TargetDataItem
Section titled “ TargetDataItem”[JsonPropertyName("targetDataItem")]public IDataItem TargetDataItem { get; set; }
Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”Use this method to assert if two DataItemMappings are the same, based on their Ids.
public override bool Equals(object? obj)
Parameters
Section titled “Parameters”obj
object?
Returns
Section titled “Returns”True if the Data Item Mappings are the same, based on their Ids
GetHashCode()
Section titled “ GetHashCode()”Override to get a hash value that represents the identifier.
public override int GetHashCode()
Returns
Section titled “Returns”A 32-bit signed integer hash code
ToString()
Section titled “ ToString()”String override so that the object returns its value (‘name of the target data item’). When an instance of this class is passed to a method that expects a string, the ToString() method will be called implicitly to convert the object to a string, and the value of the Data Item “Name” property will be returned.
public override string ToString()
Returns
Section titled “Returns”The Target Data Item’s Name