Retrieve all the records from the Custom Setting without writing SOQL


This post describes a simple way to retrieve all the records in a Custom Setting of type List. For Instance, Game__c is the customer setting with 100 records. Use the below code block to get all th…

Source: Retrieve all the records from the Custom Setting without writing SOQL

Advertisements