for
for is a loop to iterate tables, views, procedures, vtables, columns etc. You can generate your code for each entity in the database by using this loop.
Syntax
Example 1
Assume that we use a database with tables: TableA, TableB, TableC, …, TableZ. We can generate all table names with the following piece of code:
Output 1
Example 2
Assume that we use a database with views : ViewA, ViewB, ViewC, …, ViewZ. By using the following piece of code, we can generate classes for every view:
Output 2