Class DatabaseConnectedEvent
Published when a MySQL connection is successfully opened.
public record DatabaseConnectedEvent : IEvent, IEquatable<DatabaseConnectedEvent>
- Inheritance
-
DatabaseConnectedEvent
- Implements
-
IEvent
- Inherited Members
Constructors
DatabaseConnectedEvent(string, string, int, string, DateTime)
Published when a MySQL connection is successfully opened.
public DatabaseConnectedEvent(string ConnectionId, string Host, int Port, string Database, DateTime ConnectedAt)
Parameters
Properties
ConnectedAt
public DateTime ConnectedAt { get; init; }
Property Value
ConnectionId
public string ConnectionId { get; init; }
Property Value
Database
public string Database { get; init; }
Property Value
Host
public string Host { get; init; }
Property Value
Port
public int Port { get; init; }