Skip to content

DataItemMapping

Namespace: DataWarehouseAutomation.DwaModel
Assembly: DataWarehouseAutomation.dll

The individual to , column-to-column mapping.

public class DataItemMapping

objectDataItemMapping

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

The collection of extension Key/Value pairs.

[JsonPropertyName("extensions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<Extension>? Extensions { get; set; }

List<Extension>?

Optional identifier as a string value to allow various identifier approaches.

[JsonPropertyName("id")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Id { get; set; }

string?

[JsonPropertyName("sourceDataItems")]
public List<IDataItem> SourceDataItems { get; set; }

List<IDataItem>

[JsonPropertyName("targetDataItem")]
public IDataItem TargetDataItem { get; set; }

IDataItem

Use this method to assert if two DataItemMappings are the same, based on their Ids.

public override bool Equals(object? obj)

obj object?

bool

True if the Data Item Mappings are the same, based on their Ids

Override to get a hash value that represents the identifier.

public override int GetHashCode()

int

A 32-bit signed integer hash code

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()

string

The Target Data Item’s Name