Skip to content

Code Generation

Vadim Loboda edited this page Jun 13, 2017 · 9 revisions

While T4 code generation for Artisan.Orm is in ToDo list, another option is available right now!

This option is Code Generation via SQL! :)

  1. Open the script in Sql Server Management Studio or Visual Studio.
  2. Set a query window to use your database.
  3. Change the declared variables with the values you need.
  4. Boldly execute the script - it changes nothing!
  5. The generated code should appear in the message panel below.
  6. After a short revision the code can be used in the real case.
Clone this wiki locally