+ Start a Discussion

what is SObjects in salesforce?

Vincent SesVincent Ses
It refers to the object of a database table.
All standard or custom objects extends it , I think it's similar to the Object class in Java kits.

for example,you can create a sObject variable like this:
sObject s = new Account();

Chandra Sekhar CH N VChandra Sekhar CH N V
Generic sObject means, it can be of any persisted SFDC objects type.

In SFDC,sObject is generic and standard, Custom Objects are its concrete type.

Generic sObject abstracts the actual representation of any object assigned to it. sObject is the name of the generic abstract type that can be used to represent any persisted object type.