示例#1
0
        protected override void Init()
        {
            if (Handler.CompatibilityLevel >= 1400)
            {
                Variations          = new VariationCollection("Variations", MetadataObject.Variations, this);
                ObjectLevelSecurity = new ColumnOLSIndexer(this);
            }

            base.Init();
        }
示例#2
0
        protected override void Init()
        {
            if (Handler.CompatibilityLevel >= 1400)
            {
                Variations          = new VariationCollection("Variations", MetadataObject.Variations, this);
                ObjectLevelSecurity = new ColumnOLSIndexer(this);
            }

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

            base.Init();
        }