How to create Bulk Records with apex class

 

How to Create Bulk Records with using apex class

By using apex programming, we can insert one or more records into the associated object, by iterating the code till the required number of times by using any of the iterative statement.

Syntax:



Example Program:

1. Write an apex program, to insert 10 Contact Records into the object.

Apex Class Code: 


Anonymous Code:


Out Put:









Thank you.
SFDC Telugu.


Post a Comment

0 Comments