How to insert multiple records in database

Hi All,

In a REST api I am passing a List of structure, now I need to insert those records in a database entity.

Do you have any idea how to achieve this?

Thanks for your help!

Kind Regards


Hi Sandeep,

To achieve this, you should use a 'For' loop to loop over the inputted list, and in the loop, create a record in the entity, based on the current record being looped over.

You can reference the current record like:


Let me know if you have any issues,