Skip to content

DataItemQuery

Namespace: DataWarehouseAutomation.DwaModel
Assembly: DataWarehouseAutomation.dll

public class DataItemQuery : IDataItem

objectDataItemQuery

IDataItem

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

The length, number of characters for the IDataItem.

[JsonPropertyName("characterLength")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public int? CharacterLength { get; set; }

int?

Free-form and optional classification for the Data Query for use in generation logic (evaluation).

[JsonPropertyName("classifications")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<DataClassification>? Classifications { get; set; }

List<DataClassification>?

The to which the data item belongs. This can be used to construct fully qualified names.

[JsonIgnore(Condition = JsonIgnoreCondition.Always)]
public IDataObject? DataObject { get; set; }

IDataObject?

The data type of the IDataItem. E.g. VARCHAR, int, text.

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

string?

The collection of extension Key/Value pairs.

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

List<Extension>?

An identifier for the Data Query.

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

string?

An indicator to flag whether this IDataItem is part of a Primary Key.

[JsonPropertyName("isPrimaryKey")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IsPrimaryKey { get; set; }

bool?

The name for the query.

[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Name { get; set; }

string

Free-format notes.

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

string?

The precision for the IDataItem.

[JsonPropertyName("numericPrecision")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public int? NumericPrecision { get; set; }

int?

The number of decimal points for the IDataItem.

[JsonPropertyName("numericScale")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public int? NumericScale { get; set; }

int?

The position of the IDataItem in a Data Object or Data Object Query.

[JsonPropertyName("ordinalPosition")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public int? OrdinalPosition { get; set; }

int?

The actual code that constitutes the query.

[JsonPropertyName("queryCode")]
public string? QueryCode { get; set; }

string?

The language that the code was written in (e.g. SQL).

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

string?

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

public override bool Equals(object? obj)

obj object?

bool

True if the Data Item Queries 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’). 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 “Name” property will be returned.

public override string ToString()

string

The Name