Class MySqlProviderConnectorOptions
- Namespace
- Steeltoe.CloudFoundry.Connector.MySql
- Assembly
- Steeltoe.CloudFoundry.ConnectorBase.dll
Currently enabling properties supported by BOTH of these connectors: https://dev.mysql.com/doc/connector-net/en/connector-net-connection-options.html https://mysql-net.github.io/MySqlConnector/tutorials/migrating-from-connector-net/
public class MySqlProviderConnectorOptions : AbstractServiceConnectorOptions
- Inheritance
-
MySqlProviderConnectorOptions
- Inherited Members
Constructors
MySqlProviderConnectorOptions()
public MySqlProviderConnectorOptions()
MySqlProviderConnectorOptions(IConfiguration)
public MySqlProviderConnectorOptions(IConfiguration config)
Parameters
config
IConfiguration
Fields
Default_Port
public const int Default_Port = 3306
Field Value
Default_Server
public const string Default_Server = "localhost"
Field Value
Properties
AllowPublicKeyRetrieval
public bool? AllowPublicKeyRetrieval { get; set; }
Property Value
- bool?
AllowUserVariables
public bool? AllowUserVariables { get; set; }
Property Value
- bool?
ConnectionLifeTime
public int? ConnectionLifeTime { get; set; }
Property Value
- int?
ConnectionReset
public bool? ConnectionReset { get; set; }
Property Value
- bool?
ConnectionString
public string ConnectionString { get; set; }
Property Value
ConnectionTimeout
public int? ConnectionTimeout { get; set; }
Property Value
- int?
ConvertZeroDateTime
public bool? ConvertZeroDateTime { get; set; }
Property Value
- bool?
Database
public string Database { get; set; }
Property Value
DefaultCommandTimeout
public int? DefaultCommandTimeout { get; set; }
Property Value
- int?
Keepalive
public int? Keepalive { get; set; }
Property Value
- int?
MaximumPoolsize
public int? MaximumPoolsize { get; set; }
Property Value
- int?
MinimumPoolsize
public int? MinimumPoolsize { get; set; }
Property Value
- int?
OldGuids
public bool? OldGuids { get; set; }
Property Value
- bool?
Password
public string Password { get; set; }
Property Value
PersistSecurityInfo
public bool? PersistSecurityInfo { get; set; }
Property Value
- bool?
Pooling
public bool? Pooling { get; set; }
Property Value
- bool?
Port
public int Port { get; set; }
Property Value
Server
public string Server { get; set; }
Property Value
SslMode
public string SslMode { get; set; }
Property Value
TreatTinyAsBoolean
public bool? TreatTinyAsBoolean { get; set; }
Property Value
- bool?
UseAffectedRows
public bool? UseAffectedRows { get; set; }
Property Value
- bool?
UseCompression
public bool? UseCompression { get; set; }
Property Value
- bool?
Username
public string Username { get; set; }
Property Value
Methods
ToString()
public override string ToString()