October 31, 2016
SObjects are records in Salesforce platform. So they can definitely be persisted in Salesforce’s cloud database. The approach, is by using DML statements or Database class methods. Like SObject, DML statement is first class citizen in Apex. They will be treated as normal statements, instead of just strings in most other programming languages.