Пример #1
0
        void IPersistable.Deserialize(Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatReader reader)
        {
            Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Prompt:
                    m_prompt = reader.ReadString();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DynamicPrompt:
                    m_dynamicPrompt = reader.ReadBoolean();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.IsUserSupplied:
                    m_isUserSupplied = reader.ReadBoolean();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Value:
                    m_values = reader.ReadVariantArray();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DynamicValidValues:
                    m_dynamicValidValues = reader.ReadBoolean();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DynamicDefaultValue:
                    m_dynamicDefaultValue = reader.ReadBoolean();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DependencyList:
                    m_dependencyList = reader.ReadListOfRIFObjects <ParameterInfoCollection>();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ValidValues:
                    m_validValues = reader.ReadListOfRIFObjects <ValidValueList>();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Label:
                    m_labels = reader.ReadStringArray();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DependencyIndexList:
                    m_dependencyIndexList = reader.ReadInt32Array();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        void IPersistable.Deserialize(Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Code:
                    m_code = (ProcessingErrorCode)reader.ReadEnum();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Severity:
                    m_severity = (Severity)reader.ReadEnum();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ObjectType:
                    m_objectType = (ObjectType)reader.ReadEnum();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ObjectName:
                    m_objectName = reader.ReadString();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.PropertyName:
                    m_propertyName = reader.ReadString();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Message:
                    m_message = reader.ReadString();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ProcessingMessages:
                    m_processingMessages = reader.ReadListOfRIFObjects <ProcessingMessageList>();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.CommonCode:
                    m_commonCode = (ErrorCode)reader.ReadEnum();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #3
0
        internal void Deserialize(Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Name:
                    m_name = reader.ReadString();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DataType:
                    m_dataType = (DataType)reader.ReadEnum();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Nullable:
                    m_nullable = reader.ReadBoolean();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.UsedInQuery:
                    m_usedInQuery = reader.ReadBoolean();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.AllowBlank:
                    m_allowBlank = reader.ReadBoolean();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.MultiValue:
                    m_multiValue = reader.ReadBoolean();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DefaultValue:
                    m_defaultValues = reader.ReadVariantArray();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.PromptUser:
                    m_promptUser = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #4
0
        void IPersistable.Deserialize(Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Label:
                    m_label = reader.ReadString();
                    break;

                case Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Value:
                    m_value = reader.ReadVariant();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #5
0
 void IPersistable.Deserialize(Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatReader reader)
 {
     Deserialize(reader);
 }