private ScopeValue CreateScopeValueFromSortExpression(int sortCursor, ScopeIDType scopeIdType)
        {
            RuntimeExpressionInfo runtimeExpression = new RuntimeExpressionInfo(this.m_sorting.SortExpressions, this.m_sorting.ExprHost, this.m_sorting.SortDirections, sortCursor);
            object value = this.m_odpContext.ReportRuntime.EvaluateRuntimeExpression(runtimeExpression, ObjectType.Grouping, this.m_memberDef.DataRegionMemberDefinition.Grouping.Name, "Sort");

            return(new ScopeValue(this.NormalizeValue(value), scopeIdType));
        }
 private void ReadAttributes(XmlReader xmlReader)
 {
     for (int i = 0; i < xmlReader.AttributeCount; i++)
     {
         xmlReader.MoveToAttribute(i);
         string name;
         if ((name = xmlReader.Name) != null && name == "ScopeType")
         {
             this.m_scopeType = (ScopeIDType)Enum.Parse(typeof(ScopeIDType), xmlReader.Value, false);
         }
     }
 }
 public ScopeValue(object value, ScopeIDType scopeType, DataTypeCode dataTypeCode)
     : base(value, dataTypeCode)
 {
     this.m_scopeType = scopeType;
 }
 public ScopeValue(object value, ScopeIDType scopeType, string key)
     : this(value, scopeType)
 {
     this.m_key = key;
 }
 public ScopeValue(object value, ScopeIDType scopeType)
     : base(value)
 {
     this.m_scopeType = scopeType;
 }
 internal ScopeValue(object value, ScopeIDType scopeType, DataTypeCode dataTypeCode)
     : base(value, dataTypeCode)
 {
     m_scopeType = scopeType;
 }
 internal ScopeValue(object value, ScopeIDType scopeType, string key)
     : this(value, scopeType)
 {
     m_key = key;
 }
 internal ScopeValue(object value, ScopeIDType scopeType)
     : base(value)
 {
     m_scopeType = scopeType;
 }