- Move all major feature docs (logging, binary, SignalR, DataSource) into per-project `docs/` folders with dedicated Markdown files. - Split monolithic docs into focused files: `BINARY_FORMAT.md`, `BINARY_FEATURES.md`, `BINARY_OPTIONS.md`, `LOGGING.md`, `LOGGING_SERVER.md`, `LOGGING_REMOTE.md`, `SIGNALR.md`, `SIGNALR_SERVER.md`, `SIGNALR_DATASOURCE.md`. - Update all references in `README.md`, `copilot-instructions.md`, `GLOSSARY.md`, and `ARCHITECTURE.md` to point to the correct per-project doc. - Add documentation tables to each project’s `README.md` and clarify folder structure. - Update `.csproj` files to include `docs/**/*.md` for packaging. - Remove obsolete/moved docs from the solution file. - Ensure all technical debt warnings and cross-references are preserved and accurate. - No code changes; documentation only. |
||
|---|---|---|
| .. | ||
| DataLayers | ||
| DbContexts | ||
| DbSets | ||
| Extensions | ||
| ModelBuilders | ||
| SqlScripts | ||
| AcDbLogItemWriter.cs | ||
| AyCode.Database.csproj | ||
| PermissionViewSql.cs | ||
| README.md | ||
README.md
AyCode.Database
Entity Framework Core data access layer with generic DAL pattern, session/transaction management, and DAL pooling. Supports multi-tenant user, company, profile, address, and email entities.
Folder Structure
| Folder | Purpose |
|---|---|
DbContexts/ |
EF Core DbContext base classes and configurations |
DbSets/ |
Generic DbSet interfaces with extension-based CRUD |
DataLayers/ |
DAL abstraction with session/transaction and pooling |
ModelBuilders/ |
Fluent API entity relationship configurations |
Extensions/ |
Session, transaction, and DTO conversion helpers |
Key Files (Root)
PermissionViewSql.cs— SQL view definitions for permission management.AcDbLogItemWriter.cs— Writes log items to the database via logger base class.
Dependencies
| Dependency | Purpose |
|---|---|
Microsoft.EntityFrameworkCore.SqlServer |
SQL Server EF Core provider |
MessagePack |
Serialization annotations |
Newtonsoft.Json |
JSON support |