22
Views
3
Comments
Solved
Run Time Entity Data delete
Question

Hi All,

I want to delete all data from entity. how can i do that?

i am passing entity name from input.


Thanks in Advance

Amogh

Rank: #90
Solution

Hi Amogh,

You can use Advance Sql for delete all data.

like below image-

in this input vaiable pass entity name with "{}" and add one struture.


Hope this will help you.

Regards
Rahul Sahu

Rank: #692

Hi Amogh,

You can do it by using below steps:

1. In side action call your entity 

2.Put a for each loop after that, bind that loop with the entity which you had called into previous step

3.Place a delete action of that entity inside the loop(As shown in below figure)

For reactive applications/mobile applications you can refer below snap shot.

NOTE: With these two implementation all your data will be deleted from you entity.

Hope this will helps you.

Regards,

Vipasha