Beispiel #1
0
 protected InternalStreamingOdpDynamicMemberLogicBase(DataRegionMember memberDef, OnDemandProcessingContext odpContext)
 {
     m_memberDef = memberDef;
     m_sorting   = m_memberDef.DataRegionMemberDefinition.Sorting;
     m_grouping  = m_memberDef.DataRegionMemberDefinition.Grouping;
     m_memberGroupAndSortExpressionFlag = m_memberDef.DataRegionMemberDefinition.MemberGroupAndSortExpressionFlag;
     m_odpContext = odpContext;
 }
 internal bool IsRestrictedGroupSort(bool isDataRowSort, Microsoft.ReportingServices.ReportIntermediateFormat.Sorting sorting)
 {
     if (!sorting.NaturalSort && !sorting.DeferredSort)
     {
         return(m_publishingVersioning.IsRdlFeatureRestricted(RdlFeatures.Sort_Group_Applied));
     }
     return(false);
 }
Beispiel #3
0
        internal RuntimeDataRowSortHierarchyObj(IHierarchyObj outerHierarchy, int depth)
        {
            m_hierarchyRoot = outerHierarchy.HierarchyRoot;
            int num = outerHierarchy.ExpressionIndex + 1;

            Microsoft.ReportingServices.ReportIntermediateFormat.Sorting sortingDef = ((IDataRowSortOwner)m_hierarchyRoot.Value()).SortingDef;
            if (sortingDef.SortExpressions == null || num >= sortingDef.SortExpressions.Count)
            {
                m_dataRowHolder = new RuntimeSortDataHolder();
                return;
            }
            m_sortExpression = new RuntimeExpressionInfo(sortingDef.SortExpressions, sortingDef.ExprHost, sortingDef.SortDirections, num);
            m_sortTree       = new BTree(this, OdpContext, depth);
        }