AyCode.Core/AyCode.Database/DbContexts
Loretta ffd537b5eb Refactor: Split and expand project-level documentation
- 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.
2026-03-29 22:16:28 +02:00
..
Loggers Refactor: Split and expand project-level documentation 2026-03-29 22:16:28 +02:00
Users Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
AcDbContextBase.cs improvements 2024-11-14 11:23:04 +01:00
AcDbContextExtension.cs refactoring, improvements, fixes, etc... 2023-12-13 22:05:12 +01:00
IAcDbContextBase.cs improvements 2024-11-14 11:23:04 +01:00
IAcEntityTypeConfiguration.cs refactoring, improvements, fixes, etc... 2023-12-13 22:05:12 +01:00
README.md Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00

README.md

DbContexts

EF Core DbContext base classes with automatic timestamp management, UTC conversion, and lazy loading proxy support.

Key Files

  • IAcDbContextBase.cs — Base interface (Name, SessionId).
  • AcDbContextBase.cs — Abstract base: SQL Server config, auto Created/Modified timestamps, DateTime UTC conversion, transaction/SaveChanges handling.
  • AcDbContextExtension.cs — Extensions for entity keys, modified properties, value converters, UTC handling.
  • IAcEntityTypeConfiguration.cs — Interface for EF entity type configurations.

Subfolders

Folder Purpose
Users/ User-specific DbContext with DbSets for User, Profile, Address, Company, UserToken, EmailMessage
Loggers/ Logger DbContext with NoTracking for read performance