---
schema_version: "1"
id: 31c2dae9c513ce26314ce0d1d142cdb6b7953d6228d0644f857c347837980a60
title: Working with sObjects
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexcode/langCon_apex_SObjects.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_SObjects.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: adde08e14d29cc8698eb12957a4f9353b785ecc8a83ef7b219ce9f68110601d1
description: In this developer guide, the term sObject, when used as a placeholder value, refers to any object that can be stored in the Lightning platform database.
---
# Working with sObjects

In this developer guide, the term sObject, when used as a placeholder value, refers to any object that can be stored in the Lightning platform database.

- **[sObject Types](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_SObject_types.htm)**  
    An sObject variable represents a row of data and can only be declared in Apex using SOAP API name of the object.
- **[Accessing SObject Fields](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_SObjects_accessing_fields.htm)**
- **[Validating sObjects and Fields](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_SObjects_field_validation.htm)**