Skip to content

ERPConnect.BW.Dimension

Namespace: ERPConnect.BW
Assembly: ERPConnectStandard20.dll

A cube's dimension

public class Dimension

Inheritance

objectDimension

Inherited Members

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

Constructors

Dimension()

Constructs a new, empty dimension

public Dimension()

Dimension(R3Connection, BWCube, string, string, string, string, DimensionType)

Constructs a new dimension that is ready to use

public Dimension(R3Connection Connection, BWCube Cube, string Name, string UniqueName, string Description, string Caption, DimensionType Type)

Parameters

Connection R3Connection

A valid connection object

Cube BWCube

A BWCube object

Name string

The name of the dimension

UniqueName string

The unique name of the dimension

Description string

The description of the dimension

Caption string

The caption of the dimension

Type DimensionType

The type of the dimension (measure, normal or time)

Dimension(R3Connection, BWCube, string, string, string, string, DimensionType, string, int)

Constructs a new dimension that is ready to use

public Dimension(R3Connection Connection, BWCube Cube, string Name, string UniqueName, string Description, string Caption, DimensionType Type, string DataType, int Decimals)

Parameters

Connection R3Connection

A valid connection object

Cube BWCube

A BWCube object

Name string

The name of the dimension

UniqueName string

The unique name of the dimension

Description string

The description of the dimension

Caption string

The caption of the dimension

Type DimensionType

The type of the dimension (measure, normal or time)

DataType string

The data type of the dimension (e.g. CHAR)

Decimals int

The number of decimals digits (if the DataType is DEC)

Properties

Caption

The caption of the dimension

public string Caption { get; set; }

Property Value

string

Connection

A valid connection object

public R3Connection Connection { get; set; }

Property Value

R3Connection

Cube

Reference to the BWCube object the dimension belongs to

public BWCube Cube { get; set; }

Property Value

BWCube

DataType

The data type of the dimension (e.g. CHAR)

public string DataType { get; set; }

Property Value

string

Decimals

The number of decimals digits (if the DataType is DEC)

public int Decimals { get; set; }

Property Value

int

Description

The description of the dimension

public string Description { get; set; }

Property Value

string

FlatOrdinal

The ordinal number of this dimension when the dimension is contained in the flat mdx statement

public int FlatOrdinal { get; set; }

Property Value

int

Hierarchies

A reference to the Hierarchies collection, if this dimension contains hierarchies

public HierarchyCollection Hierarchies { get; set; }

Property Value

HierarchyCollection

IsBWDate

True if it is a Field of type BW Date

public bool IsBWDate { get; set; }

Property Value

bool

Name

The name of the dimension

public string Name { get; set; }

Property Value

string

Properties

A reference to the Properties collection of this dimension

public PropertyCollection Properties { get; set; }

Property Value

PropertyCollection

SelectForFlatMDX

Defines if this dimension is contained in the flat mdx functionality

public bool SelectForFlatMDX { get; set; }

Property Value

bool

Type

The type of the dimension (measure, normal or time)

public DimensionType Type { get; set; }

Property Value

DimensionType

UniqueName

The unique name of the dimension

public string UniqueName { get; set; }

Property Value

string

Methods

GetMembers()

Returns a DataTable object with all members of the dimension

public MembersDataTable GetMembers()

Returns

MembersDataTable

A DataTable with the members of the dimension

GetMembers(int, int)

Returns a DataTable object with all members of the dimension

public MembersDataTable GetMembers(int StartRow, int EndRow)

Parameters

StartRow int

Start row

EndRow int

End row

Returns

MembersDataTable

A DataTable with the members of the dimension


Last update: January 4, 2024