IDateMappingServiceGenerateDateMapping Method (Guid, IOlapCube, String, IListString)

Generates a new DateMapping object.

Namespace:  Dundas.BI.Entities.DateMappings
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
DateMapping GenerateDateMapping(
	Guid timeProviderId,
	IOlapCube cube,
	string hierarchyUniqueName,
	IList<string> excludedSets
)

Parameters

timeProviderId
Type: SystemGuid
The time provider ID.
cube
Type: Dundas.BI.Data.Metadata.OlapIOlapCube
The cube.
hierarchyUniqueName
Type: SystemString
The hierarchy unique name.
excludedSets
Type: System.Collections.GenericIListString
The excluded sets.

Return Value

Type: DateMapping
A reference to DateMapping object.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when timeProviderId is invalid.
ArgumentNullExceptionThrown when cube is null.
ArgumentExceptionThrown when excludedSets collection is empty.
See Also