@@ -60,41 +60,40 @@ public ConnectionSettings(MySqlConnectionStringBuilder csb)
6060 }
6161
6262 // Base Options
63- internal readonly string ConnectionString ;
64- internal readonly ConnectionType ConnectionType ;
65- internal readonly IEnumerable < string > Hostnames ;
66- internal readonly int Port ;
67- internal readonly string UnixSocket ;
68- internal readonly string UserID ;
69- internal readonly string Password ;
70- internal readonly string Database ;
63+ public string ConnectionString { get ; }
64+ public ConnectionType ConnectionType { get ; }
65+ public IEnumerable < string > Hostnames { get ; }
66+ public int Port { get ; }
67+ public string UnixSocket { get ; }
68+ public string UserID { get ; }
69+ public string Password { get ; }
70+ public string Database { get ; }
7171
7272 // SSL/TLS Options
73- internal readonly MySqlSslMode SslMode ;
74- internal readonly string CertificateFile ;
75- internal readonly string CertificatePassword ;
73+ public MySqlSslMode SslMode { get ; }
74+ public string CertificateFile { get ; }
75+ public string CertificatePassword { get ; }
7676
7777 // Connection Pooling Options
78- internal readonly bool Pooling ;
79- internal readonly int ConnectionLifeTime ;
80- internal readonly bool ConnectionReset ;
81- internal readonly int ConnectionIdleTimeout ;
82- internal readonly int MinimumPoolSize ;
83- internal readonly int MaximumPoolSize ;
78+ public bool Pooling { get ; }
79+ public int ConnectionLifeTime { get ; }
80+ public bool ConnectionReset { get ; }
81+ public int ConnectionIdleTimeout { get ; }
82+ public int MinimumPoolSize { get ; }
83+ public int MaximumPoolSize { get ; }
8484
8585 // Other Options
86- internal readonly bool AllowUserVariables ;
87- internal readonly bool AutoEnlist ;
88- internal readonly bool BufferResultSets ;
89- internal readonly int ConnectionTimeout ;
90- internal readonly bool ConvertZeroDateTime ;
91- internal readonly bool ForceSynchronous ;
92- internal readonly uint Keepalive ;
93- internal readonly bool OldGuids ;
94- internal readonly bool PersistSecurityInfo ;
95- internal readonly bool TreatTinyAsBoolean ;
96- internal readonly bool UseAffectedRows ;
97- internal readonly bool UseCompression ;
86+ public bool AllowUserVariables { get ; }
87+ public bool AutoEnlist { get ; }
88+ public bool BufferResultSets { get ; }
89+ public int ConnectionTimeout { get ; }
90+ public bool ConvertZeroDateTime { get ; }
91+ public bool ForceSynchronous { get ; }
92+ public uint Keepalive { get ; }
93+ public bool OldGuids { get ; }
94+ public bool PersistSecurityInfo { get ; }
95+ public bool TreatTinyAsBoolean { get ; }
96+ public bool UseAffectedRows { get ; }
97+ public bool UseCompression { get ; }
9898 }
99-
10099}
0 commit comments