<commit_before>﻿using System.Data.SqlServerCe;
using JetBrains.Annotations;
using Microsoft.Data.Entity.Utilities;

namespace Microsoft.Data.Entity.SqlServerCompact.Design.ReverseEngineering.Model
{
    public class Table
    {
        public const string Query =
            @"SELECT TOP(2147483648)
           '[' + TABLE_NAME + ']'            [Id]
         , '[' + TABLE_SCHEMA  + ']'         [SchemaName]        
         ,   TABLE_NAME                      [Name]
       FROM
             INFORMATION_SCHEMA.TABLES
       WHERE
             TABLE_TYPE = 'TABLE'";

        public virtual string Id { get;[param: CanBeNull] set; }
        public virtual string SchemaName { get;[param: CanBeNull] set; }
        public virtual string TableName { get;[param: CanBeNull] set; }

        public static Table CreateFromReader([NotNull] SqlCeDataReader reader)
        {
            Check.NotNull(reader, nameof(reader));

            var table = new Table();
            table.Id = reader.IsDBNull(0) ? null : reader.GetString(0);
            table.SchemaName = reader.IsDBNull(1) ? null : reader.GetString(1);
            table.TableName = reader.IsDBNull(2) ? null : reader.GetString(2);

            return table;
        }

        public override string ToString()
        {
            return "T[Id=" + Id
                   + ", Schema=" + SchemaName
                   + ", Name=" + TableName
                   + "]";
        }
    }
}<commit_msg>Do not reveng __ExtendedProperties table<commit_after>﻿using System.Data.SqlServerCe;
using JetBrains.Annotations;
using Microsoft.Data.Entity.Utilities;

namespace Microsoft.Data.Entity.SqlServerCompact.Design.ReverseEngineering.Model
{
    public class Table
    {
        public const string Query =
            @"SELECT TOP(2147483648)
           '[' + TABLE_NAME + ']'            [Id]
         , '[' + TABLE_SCHEMA  + ']'         [SchemaName]        
         ,   TABLE_NAME                      [Name]
       FROM
             INFORMATION_SCHEMA.TABLES
       WHERE
             TABLE_TYPE = 'TABLE'
       AND TABLE_NAME <> '__ExtendedProperties'";

        public virtual string Id { get;[param: CanBeNull] set; }
        public virtual string SchemaName { get;[param: CanBeNull] set; }
        public virtual string TableName { get;[param: CanBeNull] set; }

        public static Table CreateFromReader([NotNull] SqlCeDataReader reader)
        {
            Check.NotNull(reader, nameof(reader));

            var table = new Table();
            table.Id = reader.IsDBNull(0) ? null : reader.GetString(0);
            table.SchemaName = reader.IsDBNull(1) ? null : reader.GetString(1);
            table.TableName = reader.IsDBNull(2) ? null : reader.GetString(2);

            return table;
        }

        public override string ToString()
        {
            return "T[Id=" + Id
                   + ", Schema=" + SchemaName
                   + ", Name=" + TableName
                   + "]";
        }
    }
}
{'fraction_non_alphanumeric': 0.10579176431201875, 'fraction_numerical': 0.010713090056913292, 'mean_word_length': 1.8082706766917294, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6978650', 'n_tokens_mistral': 855, 'n_tokens_neox': 814, 'n_words': 179}