Exemplo n.º 1
0
 private ProcessingMessageList RegisterComparisonError(ReportProcessingException_ComparisonError e)
 {
     if (e == null)
     {
         m_processingContext.ErrorContext.Register(ProcessingErrorCode.rsComparisonError, Severity.Error, m_objectType, m_objectName, "FilterExpression");
     }
     else
     {
         m_processingContext.ErrorContext.Register(ProcessingErrorCode.rsComparisonTypeError, Severity.Error, m_objectType, m_objectName, "FilterExpression", e.TypeX, e.TypeY);
     }
     return(m_processingContext.ErrorContext.Messages);
 }
        internal ProcessingMessageList RegisterComparisonError(string propertyName, ReportProcessingException_ComparisonError e)
        {
            Microsoft.ReportingServices.ReportProcessing.ObjectType objectType;
            string name;

            using (m_hierarchyRoot.PinValue())
            {
                RuntimeGroupRootObj obj = (RuntimeGroupRootObj)m_hierarchyRoot.Value();
                objectType = obj.HierarchyDef.DataRegionDef.ObjectType;
                name       = obj.HierarchyDef.DataRegionDef.Name;
            }
            return(m_odpContext.RegisterComparisonError(e, objectType, name, propertyName));
        }
Exemplo n.º 3
0
        public ProcessingMessageList RegisterComparisonError(string propertyName, ReportProcessingException_ComparisonError e)
        {
            AspNetCore.ReportingServices.ReportProcessing.ObjectType objectType = default(AspNetCore.ReportingServices.ReportProcessing.ObjectType);
            string name = default(string);

            using (this.m_hierarchyRoot.PinValue())
            {
                RuntimeGroupRootObj runtimeGroupRootObj = (RuntimeGroupRootObj)this.m_hierarchyRoot.Value();
                objectType = runtimeGroupRootObj.HierarchyDef.DataRegionDef.ObjectType;
                name       = runtimeGroupRootObj.HierarchyDef.DataRegionDef.Name;
            }
            return(base.m_odpContext.RegisterComparisonError(e, objectType, name, propertyName));
        }