/// <summary> /// Creates a new MySql database schema manager. /// </summary> /// <param name="agent">MySql agent to use for schema management.</param> public MySqlSchemaManager(MySqlAgent agent) : base(agent) { }
public bool BelongsTo(MySqlAgent agent) => object.ReferenceEquals(_agent, agent ?? throw new ArgumentNullException(nameof(agent)));
/// <summary> /// Creates a new micro ORM for MySql implementation. /// </summary> /// <param name="agent">a MySql agent to use for ORM service</param> public MySqlOrmService(MySqlAgent agent) : base(agent) { }
public MySqlTraceListener(ILogger logger, MySqlAgent agent) { _logger = logger; _agent = agent ?? throw new ArgumentNullException(nameof(agent)); }
/// <summary> /// Clones a MySqlAgent instance. /// </summary> /// <param name="agentToClone">a MySqlAgent instance to clone</param> private MySqlAgent(MySqlAgent agentToClone) : base(agentToClone) { }