ERPConnect.BW.BWVariable
Namespace: ERPConnect.BW
Assembly: ERPConnectStandard20.dll
A cube's variable
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
BWVariable()
Constructs a new BWVariable object
BWVariable(BWCube, string, string, string, bool, BWVariableSelectionType, string, BWVariableType)
Constructs a new BWVariable object
public BWVariable(BWCube cube, string name, string caption, string dataType, bool isRequired, BWVariableSelectionType selectionType, string referenceDimension, BWVariableType type)
Parameters
cube
BWCube
Reference to the cube the variable is belonging to
name
string
Name of the variable
caption
string
Caption or description of the variable
dataType
string
DataType of the variable
isRequired
bool
Defines if this variable is obligatory or not
selectionType
BWVariableSelectionType
Defines the type of the variable (complex, single or interval)
referenceDimension
string
Defines which dimension this variable refers to
type
BWVariableType
Defines if the variable is numeric, member or hierarchy
Properties
Caption
Caption or description of the variable
Property Value
ComplexRanges
Represents a collection of ranges when the selection type is complex
Property Value
Cube
Reference to the cube the variable is belonging to
Property Value
DataType
DataType of the variable
Property Value
Name
Name of the variable
Property Value
ReferenceDimensionName
Defines which dimension this variable refers to
Property Value
Required
Defines if this variable is obligatory or not
Property Value
SelectionType
Defines the type of the variable (complex, single or interval)
Property Value
SingleRange
Represents a single range when the selection type is interval or single
Property Value
Type
Defines if the variable is numeric, member or hierarchy
Property Value
Methods
GetMembers(int, int)
Returns all members of this variable (can be used for designing a value help)
Parameters
StartRow
int
The row number the selection starts with
EndRow
int
The row number the selection ends with
Returns
A DataTable that contains the members
ToString()
Converts this object to string
Returns
The string