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. |
||
|---|---|---|
| .. | ||
| Interfaces | ||
| Repositories | ||
| Mango.Nop.Data.csproj | ||
| README.md | ||
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 classMgDbContextBase— Database context base for nopCommerce integrationMgDbTableBase— 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