Table of Contents

Namespace CL.MySQL2

Classes

MySQL2Library

CL.MySQL2 — CodeLogic library providing MySQL database access with a fluent LINQ query builder, automatic table synchronization, migrations, schema backups, and multiple named database connections.

Lifecycle:

  1. Configure — Registers DatabaseConfiguration and MySQL2Strings.
  2. Initialize — Loads config, validates, creates ConnectionManager and TableSyncService. Tests the connection.
  3. Start — Runs a health check and logs server version.
  4. Stop — Closes connections and disposes resources.