DateMappingAddLevelMapping Method

Adds the level mapping.

Namespace: Dundas.BI.Entities.DateMappings
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public CalendarLevelMapping AddLevelMapping(
	string levelUniqueName,
	DateTimeGranularity granularity
)

Parameters

levelUniqueName  String
Name of the level unique.
granularity  DateTimeGranularity
The interval granularity.

Return Value

CalendarLevelMapping
The level mapping.
Exceptions
ExceptionCondition
ArgumentException Thrown when levelUniqueName or granularity is invalid.
NotFoundException Thrown when interval not found for given granularity.
See Also