Exemple #1
0
        internal override void CheckSyntax()
        {
            if (GroupByItems.Count() > 8)
            {
                throw new SqlException("Only 8 fields or less are currently supported for grouping");
            }

            base.CheckSyntax();
        }
        public SpecificSettings()
        {
            GroupByItems = Enum <GroupBy> .GetNames();

            DefaultGroupBy       = GroupByItems.FirstOrDefault(x => x == DefaultGroupBy);
            EnableImageEnhancers = true;
            RecordedGroupByItems = Enum <RecordedGroupBy> .GetNames();

            DefaultRecordedGroupBy = RecordedGroupByItems.FirstOrDefault(x => x == DefaultRecordedGroupBy);
            UseRichWideTile        = true;
            DisplayBackdropOnTile  = true;
            StreamingQuality       = StreamingQuality.FourEightyLow;
            WifiStreamingQuality   = StreamingQuality.SevenTwentyMedium;
        }
        public SpecificSettings()
        {
            GroupByItems = Enum <GroupBy> .GetNames();

            DefaultGroupBy = GroupByItems.FirstOrDefault(x => x == DefaultGroupBy);
        }