Code Generation - lobodava/artisan-orm GitHub Wiki
While T4 code generation for Artisan.Orm is in ToDo list, another option is available right now!
This option is Code Generation via SQL! :)
- Open the script in Sql Server Management Studio or Visual Studio.
- Set a query window to use your database.
- Change the declared variables with the values you need.
- Boldly execute the script - it changes nothing!
- The generated code should appear in the message panel below.
- After a short revision the code can be used in the real case.