Example #1
0
 /// <summary>
 /// Initializes a new instance of the SegmentationRowset class.
 /// </summary>
 /// <param name="rowsetOperation">Possible values include: 'union',
 /// 'intersect', 'except', 'none'</param>
 /// <param name="paths">Gets the relationship path to use for segment
 /// criteria.</param>
 public SegmentationRowset(string rowsetOperation = default(string), SegmentMembershipCriteria criteria = default(SegmentMembershipCriteria), IList <IList <string> > paths = default(IList <IList <string> >))
 {
     RowsetOperation = rowsetOperation;
     Criteria        = criteria;
     Paths           = paths;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MeasureDefinition class.
 /// </summary>
 /// <param name="kind">Possible values include: 'entity',
 /// 'attribute'</param>
 /// <param name="isScalar">Gets a value indicating whether the current
 /// measure is a scalar measure e doesn't have any dimensions</param>
 /// <param name="linkedEntities">Gets list of linked entities
 /// associated with the measure.</param>
 /// <param name="variables">Gets list of variables (computed columns)
 /// for the measure.</param>
 /// <param name="dimensions">Gets list of dimensions with the
 /// measure.</param>
 /// <param name="aggregates">Gets list of aggregates of the
 /// measure.</param>
 /// <param name="isProfile">Gets a value indicating whether the current
 /// measure is a profile measure</param>
 /// <param name="measureQuerySql">Gets the user specified custom SQL
 /// query.</param>
 /// <param name="type">Possible values include: 'structured',
 /// 'manual'</param>
 /// <param name="isManualQueryScalar">Gets the indicating whether the
 /// Business Measure is Scalar or not.</param>
 /// <param name="dependencies">Gets the list of measures that this
 /// measure depends on.</param>
 public MeasureDefinition(string kind = default(string), bool?isScalar = default(bool?), IList <MeasureLinkedEntity> linkedEntities = default(IList <MeasureLinkedEntity>), IList <MeasureVariable> variables = default(IList <MeasureVariable>), MeasureExpression filters = default(MeasureExpression), SegmentMembershipCriteria filteringCriteria = default(SegmentMembershipCriteria), IList <MeasureDimension> dimensions = default(IList <MeasureDimension>), IList <MeasureAggregate> aggregates = default(IList <MeasureAggregate>), bool?isProfile = default(bool?), string measureQuerySql = default(string), string type = default(string), bool?isManualQueryScalar = default(bool?), IList <EntityDependency> dependencies = default(IList <EntityDependency>))
 {
     Kind                = kind;
     IsScalar            = isScalar;
     LinkedEntities      = linkedEntities;
     Variables           = variables;
     Filters             = filters;
     FilteringCriteria   = filteringCriteria;
     Dimensions          = dimensions;
     Aggregates          = aggregates;
     IsProfile           = isProfile;
     MeasureQuerySql     = measureQuerySql;
     Type                = type;
     IsManualQueryScalar = isManualQueryScalar;
     Dependencies        = dependencies;
     CustomInit();
 }