FruitBankHybridApp/FruitBankHybrid.Shared/Databases
Loretta a32f91271d Refactor partner model, add CargoPartner/Truck entities
- Refactored entity classes to be sealed and use new PartnerBase
- Introduced CargoPartner and CargoTruck entities with associations
- Centralized partner properties in abstract PartnerBase
- Updated IPartner, added IPartnerBase and ICargoPartner interfaces
- Added table name constants for new entities in FruitBankConstClient
- Changed AcBinaryHubProtocol FlushPolicy to "Coalesced"
- Cleaned up unused table item classes in DatabaseClient.cs
- Added serialization and documentation attributes to entities
- Updated Preorder and PreorderItem with new structure and docs
2026-05-28 17:47:53 +02:00
..
DatabaseClient.cs Refactor partner model, add CargoPartner/Truck entities 2026-05-28 17:47:53 +02:00
README.md Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:16 +02:00

README.md

Databases

Client-side in-memory table cache using ConcurrentDictionary for offline/fast data access.

Key Files

  • DatabaseClient.cs — (~250 lines) Local client-side database with typed tables (Shipping, ShippingDocument, ShippingItem, etc.). ProductDtoTable and OrderDtoTable with semaphore-based async loading. DatabaseTableBase generic base. ObjectLock for thread-safe type-based locking. LoadingPanelVisibility global flag.