IMetricSetServiceGenerateFormulaMetricSet Method (Guid, IEnumerableMetricSetUsage, IEnumerableString, PersistencePolicy) |
Generates a new
FormulaMetricSet entity, by using the provided formula statements.
The placeholders are generated using the elements of the dependent metric set usage objects.
Namespace:
Dundas.BI.Entities.MetricSets
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax FormulaMetricSet GenerateFormulaMetricSet(
Guid parentId,
IEnumerable<MetricSetUsage> dependencies,
IEnumerable<string> statements,
PersistencePolicy persistencePolicy
)
Function GenerateFormulaMetricSet (
parentId As Guid,
dependencies As IEnumerable(Of MetricSetUsage),
statements As IEnumerable(Of String),
persistencePolicy As PersistencePolicy
) As FormulaMetricSet
FormulaMetricSet^ GenerateFormulaMetricSet(
Guid parentId,
IEnumerable<MetricSetUsage^>^ dependencies,
IEnumerable<String^>^ statements,
PersistencePolicy persistencePolicy
)
abstract GenerateFormulaMetricSet :
parentId : Guid *
dependencies : IEnumerable<MetricSetUsage> *
statements : IEnumerable<string> *
persistencePolicy : PersistencePolicy -> FormulaMetricSet
Parameters
- parentId
- Type: SystemGuid
The ID of the parent file or folder. - dependencies
- Type: System.Collections.GenericIEnumerableMetricSetUsage
The metric set usage dependencies. - statements
- Type: System.Collections.GenericIEnumerableString
The formula statements. - persistencePolicy
- Type: Dundas.BI.EntitiesPersistencePolicy
A value indicating whether the entity should be created as persistent or transient.
Return Value
Type:
FormulaMetricSetA formula metric set entity.
Exceptions See Also