A Sandcastle Documented Class Library

# TotalsCalculationRuleData Class

The DTO class for TotalsCalculationRule.
Inheritance Hierarchy
System
Object
Dundas.BI.WebApi.Models
BaseDataContract
Dundas.BI.WebApi.Models
TotalsCalculationRuleData

Namespace: Dundas.BI.WebApi.Models
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [DataContractAttribute]
    public class TotalsCalculationRuleData : BaseDataContract

    <DataContractAttribute>
    Public Class TotalsCalculationRuleData
    	Inherits BaseDataContract

    [DataContractAttribute]
    public ref class TotalsCalculationRuleData : public BaseDataContract

    [<DataContractAttribute>]
    type TotalsCalculationRuleData =
        class
            inherit BaseDataContract
        end

The TotalsCalculationRuleData type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| TotalsCalculationRuleData | Initializes a new instance of the TotalsCalculationRuleData class.

Top
Properties

| Name | Description
--- | --- | ---
| CalculationAxis | Gets the calculation axis.
| Expression | Gets the rule expression.
| IsGrandTotalsOnly | Gets or sets a value indicating whether this instance is only for grand totals calculations.
| UIClassName | Gets or sets the name of the UI class (used for auto de-serialization). (Inherited from BaseDataContract.)
| UseDetailLevels | Gets or sets a value indicating whether the detail levels should be used in calculations.

Top
Methods

| Name | Description
--- | --- | ---
| FromDataContractMappings | The mapping between TotalsCalculationRuleData and TotalsCalculationRule.
| ToDataContractMappings | The mapping between TotalsCalculationRule and TotalsCalculationRuleData.

Top
See Also

#### Reference

Dundas.BI.WebApi.Models Namespace