IDateMappingServiceGenerateDateMapping(Guid, IOlapCube, String, DateTime) Method

Generates a new DateMapping object.

Namespace: Dundas.BI.Entities.DateMappings
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
DateMapping GenerateDateMapping(
	Guid timeProviderId,
	IOlapCube cube,
	string hierarchyUniqueName,
	DateTime startDate
)

Parameters

timeProviderId  Guid
The time provider ID.
cube  IOlapCube
The cube.
hierarchyUniqueName  String
The hierarchy unique name.
startDate  DateTime
The start date.

Return Value

DateMapping
A reference to DateMapping object.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when timeProviderId is invalid.
ArgumentExceptionThrown when hierarchyUniqueName is null or empty.
ArgumentNullExceptionThrown when cube is null.
QuotaExceededExceptionGenerating the date mapping would cause the entity quota for date mappings or one of the underlying entity types to be exceeded.
See Also