IDataCubeServiceGenerateExpressionDataCube Method (String, Guid, Guid, EntityCreationOptions)

Creates and saves a DataCube using an expression based SelectTransform.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
DataCube GenerateExpressionDataCube(
	string name,
	Guid parentId,
	Guid structureId,
	EntityCreationOptions options
)

Parameters

name
Type: SystemString
The name of the data cube.
parentId
Type: SystemGuid
The ID of the parent file or folder.
structureId
Type: SystemGuid
The structure ID.
options
Type: Dundas.BI.EntitiesEntityCreationOptions
Options for saving the new entity; or to use the default options.

Return Value

Type: DataCube
The newly created DataCube.
Exceptions
ExceptionCondition
ArgumentExceptionname is or Empty or structureId references a structure that is not compatible with one of the supported SelectTransform transforms or parentId is Empty.
NoPrivilegeExceptionCaller does not have access to the specified data connector.
InvalidSessionExceptionThe caller context is not associated with a valid session.
DataProviderLoadExceptionThe data provider may throw this exception if it requires third party driver to be installed.
DataConnectionExceptionThe connection cannot be established.
DuplicateItemExceptionThe name for the data cube is not unique.
NotFoundExceptionThe structure with the specified structureId or parentId does not exist.
QuotaExceededExceptionGenerating the data cube would cause the entity quota for data cubes or one of the underlying entity types to be exceeded.
See Also