PomeloEntityFrameworkCoreMySqlSettings
Class sealed net10.0
Provides the client configuration settings for connecting to a MySQL database using EntityFrameworkCore.
namespace Aspire.Pomelo.EntityFrameworkCore.MySql;
public sealed class PomeloEntityFrameworkCoreMySqlSettings{ // ...} 8 members
Constructors1
Section titled ConstructorsProperties7
Section titled PropertiesCommandTimeoutget; setint? Gets or sets the time in seconds to wait for the command to execute.
ConnectionStringget; setstring? Gets or sets the connection string of the MySQL database to connect to.
DisableHealthChecksget; setbool Gets or sets a boolean value that indicates whether the database health check is disabled or not.
DisableMetricsget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are disabled or not.
DisableRetryget; setbool Gets or sets whether retries should be disabled.
DisableTracingget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
ServerVersionget; setstring? Gets or sets the server version of the MySQL database to connect to.