<commit_before>﻿
using System.Data.Common;
namespace Serenity.Data
{
    public class ConnectionStringInfo
    {
        public ConnectionStringInfo(string connectionString, string providerName, DbProviderFactory providerFactory)
        {
            this.ConnectionString = connectionString;
            this.ProviderName = providerName;
            this.ProviderFactory = providerFactory;
        }

        public string ConnectionString { get; private set; }
        public string ProviderName { get; private set; }
        public DbProviderFactory ProviderFactory { get; private set; }
    }
}<commit_msg>add obsolete Item1 and Item2 properties to ConnectionStringInfo for backward compability<commit_after>﻿
using System;
using System.Data.Common;
namespace Serenity.Data
{
    public class ConnectionStringInfo
    {
        public ConnectionStringInfo(string connectionString, string providerName, DbProviderFactory providerFactory)
        {
            this.ConnectionString = connectionString;
            this.ProviderName = providerName;
            this.ProviderFactory = providerFactory;
        }

        public string ConnectionString { get; private set; }
        public string ProviderName { get; private set; }
        public DbProviderFactory ProviderFactory { get; private set; }

        [Obsolete("Use ConnectionString")]
        public string Item1 { get { return ConnectionString; } }
        [Obsolete("Use ProviderName")]
        public string Item2 { get { return ProviderName; } }
    }
}
{'fraction_non_alphanumeric': 0.06644736842105263, 'fraction_numerical': 0.002631578947368421, 'mean_word_length': 2.981675392670157, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3427689', 'n_tokens_mistral': 362, 'n_tokens_neox': 346, 'n_words': 106}