Mock framework to simulate Dataverse (Power Platform/Dynamics 365 CE) environments for unit testing
GNU General Public License v3.0
1
stars
0
forks
source link
Consumer can inject processor logic for Create and Update messages #8
Closed
Cloud-Awesome closed 1 year ago
Add a property to the SimulatorOptions:
PocessorLogic = new ... (string entityLogicalName, MethodTypeEnum createOrUpdate, ISimulatorEntityProcessor processorImplementation) ...
Then in the mock, call the
.Process
method after your validation and initial set up but before adding the entity to the entity storeUse cases:
(Will need to add methods to the EntityDataService to allow you to delete attributes etc...)