AyCode.Core/AyCode.Database/Extensions
Loretta 17daf0fef2 Document AcBinary wire format, sync docs, update conventions
- 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
2026-03-29 09:11:57 +02:00
..
AcDalExtension.cs improvements, fixes, etc... 2024-06-30 15:34:19 +02:00
AcDbModelDtoExtension.cs
AcDbSessionExtension.cs Add Logger 2024-05-14 13:04:01 +02:00
AcDbTransactionExtension.cs Add Logger 2024-05-14 13:04:01 +02:00
README.md Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00

README.md

Extensions

Database utility extensions for DTO conversion, read-only sessions, and transaction management with rollback support.

Key Files

  • AcDbModelDtoExtension.cs — GetModelDtoById, GetAllModelDto for DTO projections.
  • AcDbSessionExtension.cs — Session/SessionAsync for read-only operations with error logging.
  • AcDbTransactionExtension.cs — Transaction/TransactionAsync with auto-rollback on failure, OpenTransaction/CommitTransaction helpers.
  • AcDalExtension.cs — DAL-level mutex-locked session/transaction wrappers, UpdateSafe/UpdateSafeAsync for optimistic updates with optional callbacks.