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 (24.4.0.1000)
Syntax
public CalendarLevelMapping AddLevelMapping(
	string levelUniqueName,
	DateTimeGranularity granularity
)

Parameters

levelUniqueName
Type: SystemString
Name of the level unique.
granularity
Type: Dundas.BI.DataDateTimeGranularity
The interval granularity.

Return Value

Type: 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