public static void UpdateStatisticsModel(Dax.Metadata.Model daxModel, OleDbConnection connection)
        {
            StatExtractor extractor = new StatExtractor(daxModel, connection);

            extractor.LoadTableStatistics();
            extractor.LoadColumnStatistics();

            // Update ExtractionDate
            extractor.DaxModel.ExtractionDate = DateTime.UtcNow;
        }
        public static void UpdateStatisticsModel(Dax.Metadata.Model daxModel, IDbConnection connection, int sampleRows = 0)
        {
            StatExtractor extractor = new StatExtractor(daxModel, connection);

            extractor.LoadTableStatistics();
            extractor.LoadColumnStatistics();
            extractor.LoadRelationshipStatistics(sampleRows);

            // Update ExtractionDate
            extractor.DaxModel.ExtractionDate = DateTime.UtcNow;
        }