Added comprehensive README.md documentation to every project and subfolder in the solution. Each README describes the purpose, key files, structure, dependencies, and design patterns for its area. This improves codebase navigability and maintainability, and includes a maintenance note to keep docs in sync with future code changes. |
||
|---|---|---|
| .. | ||
| AcDalExtension.cs | ||
| AcDbModelDtoExtension.cs | ||
| AcDbSessionExtension.cs | ||
| AcDbTransactionExtension.cs | ||
| README.md | ||
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.
LLM Maintenance: If you modify code in this folder, update this README to reflect the changes. If you notice the README content does not match the current code, automatically update the README to match the code.