# 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.
