ERPConnect.BW.Dimension
Namespace: ERPConnect.BW
Assembly: ERPConnectStandard20.dll
A cube's dimension
Inheritance
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
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
Property Value
Connection
A valid connection object
Property Value
Cube
Reference to the BWCube object the dimension belongs to
Property Value
DataType
The data type of the dimension (e.g. CHAR)
Property Value
Decimals
The number of decimals digits (if the DataType is DEC)
Property Value
Description
The description of the dimension
Property Value
FlatOrdinal
The ordinal number of this dimension when the dimension is contained in the flat mdx statement
Property Value
Hierarchies
A reference to the Hierarchies collection, if this dimension contains hierarchies
Property Value
IsBWDate
True if it is a Field of type BW Date
Property Value
Name
The name of the dimension
Property Value
Properties
A reference to the Properties collection of this dimension
Property Value
SelectForFlatMDX
Defines if this dimension is contained in the flat mdx functionality
Property Value
Type
The type of the dimension (measure, normal or time)
Property Value
UniqueName
The unique name of the dimension
Property Value
Methods
GetMembers()
Returns a DataTable object with all members of the dimension
Returns
A DataTable with the members of the dimension
GetMembers(int, int)
Returns a DataTable object with all members of the dimension
Parameters
StartRow
int
Start row
EndRow
int
End row
Returns
A DataTable with the members of the dimension