Exemple #1
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_declaration);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ExpressionType:
                    m_expressionType = (Microsoft.ReportingServices.ReportProcessing.DataAggregate.DataTypeCode)reader.ReadEnum();
                    break;

                case MemberName.CurrentMax:
                    m_currentMax = reader.ReadVariant();
                    break;

                case MemberName.Comparer:
                {
                    int id = reader.ReadInt32();
                    m_comparer = (Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessingComparer)scalabilityCache.FetchStaticReference(id);
                    break;
                }

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Exemple #2
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(RuntimeRDLDataRegionObj.m_declaration);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.DataRegionDef:
                {
                    int id2 = reader.ReadInt32();
                    this.m_dataRegionDef = (AspNetCore.ReportingServices.ReportIntermediateFormat.DataRegion)scalabilityCache.FetchStaticReference(id2);
                    break;
                }

                case MemberName.OuterScope:
                    this.m_outerScope = (IReference <IScope>)reader.ReadRIFObject();
                    break;

                case MemberName.FirstRow:
                    this.m_firstRow = (DataFieldRow)reader.ReadRIFObject();
                    break;

                case MemberName.FirstRowIsAggregate:
                    this.m_firstRowIsAggregate = reader.ReadBoolean();
                    break;

                case MemberName.Filters:
                {
                    int id = reader.ReadInt32();
                    this.m_filters = (Filters)scalabilityCache.FetchStaticReference(id);
                    break;
                }

                case MemberName.NonCustomAggregates:
                    this.m_nonCustomAggregates = reader.ReadListOfRIFObjects <List <AspNetCore.ReportingServices.ReportIntermediateFormat.DataAggregateObj> >();
                    break;

                case MemberName.CustomAggregates:
                    this.m_customAggregates = reader.ReadListOfRIFObjects <List <AspNetCore.ReportingServices.ReportIntermediateFormat.DataAggregateObj> >();
                    break;

                case MemberName.DataAction:
                    this.m_dataAction = (DataActions)reader.ReadEnum();
                    break;

                case MemberName.OuterDataAction:
                    this.m_outerDataAction = (DataActions)reader.ReadEnum();
                    break;

                case MemberName.RunningValues:
                    this.m_runningValues = reader.ReadListOfPrimitives <string>();
                    break;

                case MemberName.PreviousValues:
                    this.m_previousValues = reader.ReadListOfPrimitives <string>();
                    break;

                case MemberName.RunningValueValues:
                    this.m_runningValueValues = reader.ReadArrayOfRIFObjects <AspNetCore.ReportingServices.ReportIntermediateFormat.DataAggregateObjResult>();
                    break;

                case MemberName.RunningValueOfAggregateValues:
                    this.m_runningValueOfAggregateValues = reader.ReadArrayOfRIFObjects <AspNetCore.ReportingServices.ReportIntermediateFormat.DataAggregateObjResult>();
                    break;

                case MemberName.PostSortAggregates:
                    this.m_postSortAggregates = reader.ReadListOfRIFObjects <List <AspNetCore.ReportingServices.ReportIntermediateFormat.DataAggregateObj> >();
                    break;

                case MemberName.DataRows:
                    this.m_dataRows = reader.ReadRIFObject <ScalableList <DataFieldRow> >();
                    break;

                case MemberName.InnerDataAction:
                    this.m_innerDataAction = (DataActions)reader.ReadEnum();
                    break;

                case MemberName.UserSortTargetInfo:
                    this.m_userSortTargetInfo = (RuntimeUserSortTargetInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SortFilterExpressionScopeInfoIndices:
                    this.m_sortFilterExpressionScopeInfoIndices = reader.ReadInt32Array();
                    break;

                case MemberName.InDataRowSortPhase:
                    this.m_inDataRowSortPhase = reader.ReadBoolean();
                    break;

                case MemberName.SortedDataRowTree:
                    this.m_sortedDataRowTree = (BTree)reader.ReadRIFObject();
                    break;

                case MemberName.DataRowSortExpression:
                    this.m_dataRowSortExpression = (RuntimeExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.AggregatesOfAggregates:
                    this.m_aggregatesOfAggregates = (BucketedDataAggregateObjs)reader.ReadRIFObject();
                    break;

                case MemberName.PostSortAggregatesOfAggregates:
                    this.m_postSortAggregatesOfAggregates = (BucketedDataAggregateObjs)reader.ReadRIFObject();
                    break;

                case MemberName.HasProcessedAggregateRow:
                    this.m_hasProcessedAggregateRow = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Exemple #3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ExpressionType:
                    m_expressionType = (Microsoft.ReportingServices.ReportProcessing.DataAggregate.DataTypeCode)reader.ReadEnum();
                    break;

                case MemberName.CurrentTotalType:
                    m_currentTotalType = (Microsoft.ReportingServices.ReportProcessing.DataAggregate.DataTypeCode)reader.ReadEnum();
                    break;

                case MemberName.CurrentTotal:
                    m_currentTotal = reader.ReadVariant();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }