Mango.Nop.Libraries/Mango.Nop.Data
Loretta f47701af59 Add architecture docs for Mango.Nop & update dev DB config
Added detailed documentation: ARCHITECTURE.md, CONVENTIONS.md, GLOSSARY.md, and copilot-instructions.md for Mango.Nop.Core, Data, and Services. Updated/added README.md files for all Mango.Nop libraries and the FruitBank nopCommerce plugin, clarifying structure, key types, and usage. Switched appsettings.json connection string from production to development database. These changes improve developer onboarding and enforce architectural consistency.
2026-03-29 10:44:03 +02:00
..
Interfaces Add Mango.Nop.Data project to solution 2025-11-04 15:57:09 +01:00
Repositories StockQuantityHistoryExt, StockQuantityHistoryDto; improvements, fixes; 2025-11-13 19:58:39 +01:00
Mango.Nop.Data.csproj Update DLL HintPaths to use $(Configuration); prod DB switch 2026-03-24 18:30:43 +01:00
README.md Add architecture docs for Mango.Nop & update dev DB config 2026-03-29 10:44:03 +02:00

README.md

Mango.Nop.Data

Data access layer with repository base classes and DB context abstractions. net9.0.

Folder Structure

Folder Purpose
Interfaces/ Repository interfaces: IMgDalBase, IMgDbContextBase, IMgDbTableBase
Repositories/ Repository base implementations: MgDalBase, MgDbContextBase, MgDbTableBase, MgDtoDbTableBase

Key Types

  • MgDalBase — Data Access Layer base class
  • MgDbContextBase — Database context base for nopCommerce integration
  • MgDbTableBase — Table-level repository base (entity → DB operations)
  • MgDtoDbTableBase — DTO-aware table base — handles DTO ↔ entity mapping

Dependencies

  • Mango.Nop.Core (ProjectReference)
  • Nop.Core, Nop.Data (nopCommerce ProjectReferences)
  • MessagePack, Microsoft.AspNetCore.Mvc.NewtonsoftJson