# cdsmatheus/crudwork architecture

> Architecture diagram of the GitHub repository cdsmatheus/crudwork, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cdsmatheus/crudwork
- Repository: https://github.com/cdsmatheus/crudwork

## Overview

CRUDWork is a small C# data-access library offering parallel CRUD and query helpers for Access, Microsoft SQL Server, and MySQL. A consumer supplies connection details and a provider connection, then calls a provider-specific method to read tabular, dataset, or reader results, or to insert, update, and delete rows. The three implementations are separate rather than routed through a shared orchestration layer. The excerpts establish these capabilities and each provider’s connection and command behavior; no README or consumer workflow is provided, so the entry point into the library is not evidenced.

Main entry points: [`CRUDWork/ACCESSDB.cs`](https://github.com/cdsmatheus/crudwork/blob/main/CRUDWork/ACCESSDB.cs) (Access CRUD), [`CRUDWork/MSSQL.cs`](https://github.com/cdsmatheus/crudwork/blob/main/CRUDWork/MSSQL.cs) (SQL Server CRUD), [`CRUDWork/MYSQL.cs`](https://github.com/cdsmatheus/crudwork/blob/main/CRUDWork/MYSQL.cs) (MySQL CRUD)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_providers["Database providers"]
  node_access["Access CRUD<br/>[ACCESSDB.cs]"]
  node_mssql["SQL Server CRUD<br/>[MSSQL.cs]"]
  node_mysql["MySQL CRUD<br/>[MYSQL.cs]"]
end

node_consumer(("Library consumer"))
node_accessdb[("Access database")]
node_sqldb[("SQL Server database")]
node_mysqldb[("MySQL database")]

node_consumer -.->|"calls CRUD"| node_access
node_consumer -.->|"calls CRUD"| node_mssql
node_consumer -.->|"calls CRUD"| node_mysql
node_access -->|"queries and writes"| node_accessdb
node_mssql -->|"queries and writes"| node_sqldb
node_mysql -->|"queries and writes"| node_mysqldb

click node_access "https://github.com/cdsmatheus/crudwork/blob/main/CRUDWork/ACCESSDB.cs"
click node_mssql "https://github.com/cdsmatheus/crudwork/blob/main/CRUDWork/MSSQL.cs"
click node_mysql "https://github.com/cdsmatheus/crudwork/blob/main/CRUDWork/MYSQL.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_access,node_mssql,node_mysql toneBlue
class node_consumer toneIndigo
class node_accessdb,node_sqldb,node_mysqldb toneAmber
```

## Components

### Database providers

- [Access CRUD](https://github.com/cdsmatheus/crudwork/blob/main/CRUDWork/ACCESSDB.cs): `CRUDWork/ACCESSDB.cs`
- [SQL Server CRUD](https://github.com/cdsmatheus/crudwork/blob/main/CRUDWork/MSSQL.cs): `CRUDWork/MSSQL.cs`
- [MySQL CRUD](https://github.com/cdsmatheus/crudwork/blob/main/CRUDWork/MYSQL.cs): `CRUDWork/MYSQL.cs`

### Other components

- **Library consumer**
- **Access database**
- **SQL Server database**
- **MySQL database**

## Connections

- Library consumer → Access CRUD: calls CRUD
- Library consumer → SQL Server CRUD: calls CRUD
- Library consumer → MySQL CRUD: calls CRUD
- Access CRUD → Access database: queries and writes (evidence: `CRUDWork/ACCESSDB.cs`)
- SQL Server CRUD → SQL Server database: queries and writes (evidence: `CRUDWork/MSSQL.cs`)
- MySQL CRUD → MySQL database: queries and writes (evidence: `CRUDWork/MYSQL.cs`)
