public MdxCaseExpression(IEnumerable <MdxWhenClause> whenItems)
     : this()
 {
     if (whenItems != null)
     {
         When.AddRange(whenItems);
     }
 }
 public MdxFunctionExpression(string name, IEnumerable <MdxExpression> args)
     : this(name)
 {
     if (args != null)
     {
         Arguments.AddRange(args);
     }
 }
示例#3
0
 protected MdxWithClauseItem(MdxObjectReferenceExpression name, MdxExpression exp, IEnumerable <MdxCalcProperty> props)
     : this(name, exp)
 {
     if (props != null)
     {
         CalcProperties.AddRange(props);
     }
 }
示例#4
0
 public MdxSelectStatement(
     IEnumerable <MdxWithClauseItem> with,
     IEnumerable <MdxAxis> axes,
     MdxWhereClause where,
     MdxObject CubeSpecification)
     : this()
 {
     if (with != null)
     {
         With.AddRange(with);
     }
     if (axes != null)
     {
         Axes.AddRange(axes);
     }
     m_Where = where;
     this.CubeSpecification = CubeSpecification;
 }