示例#1
0
        /// <summary>
        /// Sets the table metadata based on the table date and writing period.
        /// </summary>
        public void SetDefaultMetadata()
        {
            Metadata = new TrendTableMeta
            {
                MinTimestamp  = TableDate,
                MaxTimestamp  = TableDate.AddDays(1.0),
                WritingPeriod = WritingPeriod,
                PageCapacity  = GetPageCapacity()
            };

            Pages = CreatePages();
        }