Exemplo n.º 1
0
 public DataSchema(IMemberStorage <T, Dimension <T> > dimstorage,
                   IMemberStorage <T, Measure <T> > messtorage,
                   IMemberStorage <T, Metric <T> > metstorage)
 {
     Dimensions = new DimensionCollection <T>(dimstorage);
     Measures   = new MeasuresCollection <T>(messtorage);
     Metrics    = new MetricsCollection <T>(metstorage);
 }
Exemplo n.º 2
0
 public DataSchema(CubeConfig config,
                   DataSourceCollection datasources,
                   IMemberStorage <T, Dimension <T> > dimstorage,
                   IMemberStorage <T, Measure <T> > messtorage,
                   IMemberStorage <T, Metric <T> > metstorage) : this(dimstorage, messtorage, metstorage)
 {
     _datasources = datasources;
     this.Config  = config.MetaData;
     this.Initialize();
 }
Exemplo n.º 3
0
 public MeasuresCollection(IMemberStorage <T, Measure <T> > storage)
 {
     _storage = storage;
     base.Init();
 }
 internal override void SetMembersStorage(IMemberStorage <T, Member <T> > storage)
 {
     _members = new MemberCollection <T>(storage); //todo change this
 }
Exemplo n.º 5
0
 internal virtual void SetMembersStorage(IMemberStorage <T, Member <T> > storage)
 {
     _members = new MemberCollection <T>(storage);
 }
Exemplo n.º 6
0
 public CellValuesHelper(IMemberStorage <T, Measure <T> > measures, IMemberStorage <T, Dimension <T> > dimensions, IMemberStorage <T, Metric <T> > metrics)
 {
     _measures   = measures;
     _dimensions = dimensions;
     _metrics    = metrics;
 }
 public DimensionCollection(IMemberStorage <T, Dimension <T> > storage)
 {
     _storage = storage;
     base.Init();
 }
 public MetricsCollection(IMemberStorage <T, Metric <T> > storage)
 {
     _storage = storage;
     base.Init();
 }