- Add BINARY_FORMAT.md: full AcBinary wire format spec (markers, encoding, options, protocol, interactions) - Reference BINARY_FORMAT.md from GLOSSARY.md, Binaries/README.md, and Serializers/Binaries/README.md; add new glossary terms - Clarify and expand config options tables to match new doc - Add/clarify LLM maintenance rules: always sync .md files with code, auto-fix discrepancies - Update root README.md: AyCode.Core targets .NET 9, not 10; stress doc/code sync - Add code reuse and doc sync conventions to copilot-instructions.md and CONVENTIONS.md - Add docs/ folder and BINARY_FORMAT.md to solution as Solution Items - Minor clarifications and cross-links in ARCHITECTURE.md and other docs |
||
|---|---|---|
| .. | ||
| Loggers | ||
| Users | ||
| AcDbContextBase.cs | ||
| AcDbContextExtension.cs | ||
| IAcDbContextBase.cs | ||
| IAcEntityTypeConfiguration.cs | ||
| README.md | ||
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 |