Esempio n. 1
0
        protected override void Init()
        {
            if (Handler.CompatibilityLevel >= 1400)
            {
                Variations          = new VariationCollection("Variations", MetadataObject.Variations, this);
                ObjectLevelSecurity = new ColumnOLSIndexer(this);
                if (Handler.PbiMode)
                {
                    GroupByColumns = new GroupingColumnCollection(this);
                }
            }

            base.Init();
        }
Esempio n. 2
0
        protected override void Init()
        {
            if (Handler.CompatibilityLevel >= 1400)
            {
                Variations          = new VariationCollection("Variations", MetadataObject.Variations, this);
                ObjectLevelSecurity = new ColumnOLSIndexer(this);
                if (Handler.PbiMode)
                {
                    GroupByColumns = new GroupingColumnCollection(this);
                }
            }

            if (Handler.CompatibilityLevel >= 1460)
            {
                if (MetadataObject.AlternateOf != null)
                {
                    this.AlternateOf = AlternateOf.CreateFromMetadata(this, MetadataObject.AlternateOf);
                }
            }

            base.Init();
        }