@@ -60,41 +60,40 @@ public ConnectionSettings(MySqlConnectionStringBuilder csb)
60
60
}
61
61
62
62
// 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 ; }
71
71
72
72
// 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 ; }
76
76
77
77
// 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 ; }
84
84
85
85
// 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 ; }
98
98
}
99
-
100
99
}
0 commit comments