function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
abhijeet bholabhijeet bhol 

what is the Delete button logic in apex class?

Robert_StrunkRobert_Strunk
Hi Abhijeet, 
    Your question is very general and we will need more info to know exactly what you are looking for, but here is a link to all standard controller methods for an ApexPage. 
https://www.salesforce.com/docs/developer/pages/Content/apex_ApexPages_StandardController_methods.htm (https://www.salesforce.com/docs/developer/pages/Content/apex_ApexPages_StandardController_methods.htm" target="_blank)

When the standard DELETE button is called, basically it just performs a Database.delete(); DML operation on the specified record or collection of records.