How arazabedi/cognizantdataverse works
Cognizant Dataverse CRUD Demo is a console application for managing accounts, contacts, and incidents in Microsoft Dataverse. A user selects an entity area in the main menu, then performs create, read, update, delete, or list operations; entity-specific controllers collect input and display results through the console UI, while services perform Dataverse operations. List operations map Dataverse entities into application models. The README documents all three CRUD areas and input/API error feedback. The supplied source samples do not include Account and Incident model files, so their paths and conversion links rely on the documented tree and README.
Main entry points: MainController.cs Main navigation · ConsoleUI.cs Console UI · AccountController.cs Account controller · AccountService.cs Account service
Components 14
Application flow
- Application startup
CityPowerAndLight/Program.cs - Main navigation
CityPowerAndLight/Controller/MainController.cs
Console interface
- Console UI
CityPowerAndLight/View/ConsoleUI.cs
Account operations
- Account controller
CityPowerAndLight/Controller/AccountController.cs - Account service
CityPowerAndLight/Service/AccountService.cs - Account model
CityPowerAndLight/Model/Account.cs
Contact operations
- Contact controller
CityPowerAndLight/Controller/ContactController.cs - Contact service
CityPowerAndLight/Service/ContactService.cs - Contact model
CityPowerAndLight/Model/Contact.cs
Incident operations
- Incident controller
CityPowerAndLight/Controller/IncidentController.cs - Incident service
CityPowerAndLight/Service/IncidentService.cs - Incident model
CityPowerAndLight/Model/Incident.cs
Other components
- Console user
- Microsoft Dataverse
Connections 19
- Console user → Console UI: enters prompts
- Application startup → Microsoft Dataverse: connects
- Application startup → Main navigation: starts
- Main navigation → Console UI: prompts and displays
- Main navigation → Account controller: dispatches
- Main navigation → Contact controller: dispatches
- Main navigation → Incident controller: dispatches
- Account controller → Console UI: prompts and displays
- Account controller → Account service: invokes CRUD
- Account service → Microsoft Dataverse: reads and writes
- Account service → Account model: maps list results
- Contact controller → Console UI: prompts and displays
- Contact controller → Contact service: invokes CRUD
- Contact service → Microsoft Dataverse: reads and writes
- Contact service → Contact model: maps list results
- Incident controller → Console UI: prompts and displays
- Incident controller → Incident service: invokes CRUD
- Incident service → Microsoft Dataverse: reads and writes
- Incident service → Incident model: maps list results