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
sancasanca 

sObject type 'Entityparticle ' is not supported

I am unable to query Entity particle object in apex class . Getting the below error
sObject type 'Entityparticle ' is not supported

But it works perfectly fine in developer console and workbench
pconpcon
What API version is your class file? It looks like the API version has to be at least version 34.0.