Skip to content

DmlBase class is a layer around Salesforce Database class adding Nebula Logger logging to any errors on Insert, Update, Upsert, and Delete methods.

Notifications You must be signed in to change notification settings

justin-lyon/dml-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dml-base

DmlBase class is a layer around Salesforce Database class adding Nebula Logger logging to any errors on Insert, Update, Upsert, and Delete methods.

It is an abstract class that is designed to be extended onto SObject Service classes. This way SObject Service classes can focus on just writing queries.

This Pattern is only possible because of community developments in mocking. Namely UniversalMock.

Example

See force-app/main/example for an example of Property Injection for use with stateless Lightning Component Controllers.

About

DmlBase class is a layer around Salesforce Database class adding Nebula Logger logging to any errors on Insert, Update, Upsert, and Delete methods.

Topics

Resources

Stars

Watchers

Forks

Languages