Class DataProviderDimensionAttribute
- Namespace
- BiExcellence.OpenBi.Api.DataProviders
- Assembly
- BiExcellence.OpenBi.Api.Client.dll
An attribute of a dimension - a second column that travels with the dimension's values.
public sealed class DataProviderDimensionAttribute : DataProviderElement
- Inheritance
-
objectDataProviderDimensionAttribute
- Inherited Members
Constructors
DataProviderDimensionAttribute()
Creates an empty attribute.
public DataProviderDimensionAttribute()
DataProviderDimensionAttribute(DataProviderDimensionAttribute)
Creates a copy.
public DataProviderDimensionAttribute(DataProviderDimensionAttribute attribute)
Parameters
attributeDataProviderDimensionAttribute
Properties
Position
The position among the dimension's attributes, 1-based.
[JsonPropertyName("position")]
public int Position { get; set; }
Property Value
- int
SortMode
How the attribute is sorted.
[JsonPropertyName("sortMode")]
public DataProviderSortMode SortMode { get; set; }
Property Value
SortType
What the attribute is sorted by.
[JsonPropertyName("sortType")]
public DataProviderSortType SortType { get; set; }
Property Value
Type
The attribute's data type. Text unless stated otherwise.
[JsonPropertyName("type")]
[JsonConverter(typeof(JsonStringEnumConverter<DbType>))]
public DbType Type { get; set; }
Property Value
- DbType
Visible
Whether the attribute is shown next to its dimension. Absent means visible.
[JsonPropertyName("visible")]
public bool? Visible { get; set; }
Property Value
- bool?