Table of Contents

Interface IDimension

Namespace
ToSic.Eav.Data
Assembly
ToSic.Eav.Core.dll

Represents a Dimension to assign values to. Dimensions are usually languages (ILanguage), but in future they could also be multi-dimensional, like values which are mapped to a language and to a specific edition, use case, etc.

[InternalApi_DoNotUse_MayChangeWithoutNotice("this is just fyi")]
public interface IDimension

Properties

DimensionId

Gets the internal DimensionId as it is stored in the DB. This is only used for scenarios where the dimensions are defined in relational data.

int DimensionId { get; }

Property Value

int

Key

Gets the dimension Key. For languages it's usually values like en-US or de-DE

string Key { get; }

Property Value

string

ReadOnly

Gets whether Dimension is assigned read only. This affects the UI, so that the value cannot be edited in these dimensions.

bool ReadOnly { get; }

Property Value

bool