3
Answers

About loop in core

Hello,

I have 2 tables LogMaster (with columns LogId, Title) and PermissionMaster (with columns Permission Id, LogId, ContactId)

I am getting 2 different ContactId , I have to save it in PermissionMaster table with same LogId and that will be in two different rows in sql, one for each ContactId

how to achieve that ? or I have to use foreach loop in core also ? 

thank you

Answers (3)