Another Salesforce blog!!!

Salesforce, Apex

lazyload loading


public Employee__c[] employees {  
  get { return employees == null 
                 ? employees = [some soql];
                 : employees;
      } set;
}

Leave a Reply

Your email address will not be published. Required fields are marked *

*