Skip to content

a7medit/DDA_Builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data driven code generator

About:

this tool will allow you to use Razor template to generate customized code, with the way you like, imgaine you can generate code for mobile,web or even desktop Apps in a simple click, all you need to do is creating your own Razor template, and your own database (SQL server only for now).

how it works:

Smiley face

Getting Started

1 :Create a Razor template :

example Razor template for generating an HTML table from your data model

<table>
<thead>
<tr>
 @foreach (var item in @Model.TableDefination.Rows)
 {
 <th> @(item["Field"]) </th>
 }
</tr>
</thead>
<tbody>
<tr>
 @foreach (var item in @Model.TableDefination.Rows)
  {
<td> </td>
}
</tr>
</tbody>
</table>

things to do:

  • Razor exception handling
  • Template Edit/Add

Releases

No releases published

Packages

No packages published

Languages