1
<%--
2
Name:
3
Author: RS_WUBIYU
4
Description:
5
--%>
6
<%@ CodeTemplate Language="C#" ResponseEncoding="UTF-8" TargetLanguage="Text" Src="Helper.cs" Inherits="Helper" Debug="False" Description="Template description here." %>
7
<%@ Property Name="DataBase" Type="SchemaExplorer.DatabaseSchema" Category="2.数据库对象"
8
Description="数据库对象" %>
9
<%@ Property Name="AutoExecuteScript" Type="System.Boolean" Default="False" Category="1. 是否自动执行生成后的脚本"
10
Description="是否自动执行生成后的脚本" %>
11
<%@ Assembly Name="System.Data" %>
12
<%@ Assembly Name="SchemaExplorer" %>
13
<%@ Assembly Name="CodeSmith.BaseTemplates" %>
14
15
<%@ Import Namespace="System.Data" %>
16
<%@ Import Namespace="SchemaExplorer" %>
17
<%@ Import Namespace="CodeSmith.BaseTemplates" %>
18
<%
19
foreach(TableSchema Table in DataBase.Database.Tables)
20
>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20