Skip to content

tiaanswart/ApexUnitOfWorkUtil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apex Unit Of Work Util

Unit Of Work Utility for Salesforce Apex

I am a big fan of FFlib for Apex, however I needed something a little bit more lightweight and dynamic.

This utility allows the following:

  1. Register SObject Types in the order you want it to be processed and additionally include an External Id field you want to be used when performing the upserts.
  2. Register SObject Records to be Upserted (Insert and Update)
  3. Register SObject Records to be Deleted
  4. Register Relationships that should be resolved before DML

For examples check the test class.


Deploy to Salesforce

About

Unit Of Work Utility for Salesforce Apex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages