DataClassification
Class DataClassification
Section titled “ Class DataClassification”Namespace: DataWarehouseAutomation.DwaModel
Assembly: DataWarehouseAutomation.dll
Used to define a list of classifications (labels) and notes to add to various components of the schema definition.
public class DataClassification
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”Classification
Section titled “ Classification”The mandatory classification description, usually a keyword used for automation purposes.
[JsonPropertyName("classification")]public string Classification { 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”Free-format notes on the Data Classification.
[JsonPropertyName("notes")][JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]public string? Notes { 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 Data Classifications 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 Classifications 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 the classification value (‘classification’). 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 “Classification” property will be returned.
public override string ToString()
Returns
Section titled “Returns”The Classification value