Table of Contents

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
object
DataProviderDimensionAttribute
Inherited Members

Constructors

DataProviderDimensionAttribute()

Creates an empty attribute.

public DataProviderDimensionAttribute()

DataProviderDimensionAttribute(DataProviderDimensionAttribute)

Creates a copy.

public DataProviderDimensionAttribute(DataProviderDimensionAttribute attribute)

Parameters

attribute DataProviderDimensionAttribute

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

DataProviderSortMode

SortType

What the attribute is sorted by.

[JsonPropertyName("sortType")]
public DataProviderSortType SortType { get; set; }

Property Value

DataProviderSortType

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?