AyCode.Core/AyCode.Database/DbContexts
Loretta 541cebbed8 Update README links to use code-style paths for docs
Replaced Markdown links with plain code-style paths in all README.md files for consistency. Updated references to logging, SignalR, and dynamic method dispatch documentation. Clarified some documentation paths and improved consistency in context/architecture sections. No code changes—documentation only.
2026-03-30 08:01:05 +02:00
..
Loggers Update README links to use code-style paths for docs 2026-03-30 08:01:05 +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