I have a List<sObject> scope
and I want to cast it to a concrete type: List<My_Concrete_Type__c>
I tried scope.getSobjects('My_Concrete_Type__c')
but this doesn't compile. How can I get a List<My_Concrete_Type__c>
?
I have a List<sObject> scope
and I want to cast it to a concrete type: List<My_Concrete_Type__c>
I tried scope.getSobjects('My_Concrete_Type__c')
but this doesn't compile. How can I get a List<My_Concrete_Type__c>
?
Best Answer
Have you tried doing this?