1
<%--
2
Name:
3
Author:
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="NameSpace" Type="System.String" Default="" Optional="false" Category="1.命名空间" Description="当前生成命名空间" %>
8
<%@ Property Name="DataBase" Type="SchemaExplorer.DatabaseSchema" Category="2.数据库对象"
9
Description="数据库对象" %>
10
<%@ Property Name="ModuleName" Type="System.String" Default="" Optional="false" Category="" Description="项目名称" %>
11
12
<%@ Assembly Name="System.Data" %>
13
<%@ Assembly Name="SchemaExplorer" %>
14
<%@ Assembly Name="CodeSmith.BaseTemplates" %>
15
<%@ Import Namespace="System.Data" %>
16
<%@ Import Namespace="SchemaExplorer" %>
17
<%@ Import Namespace="CodeSmith.BaseTemplates" %>
18
using System;
19
using System.Collections.Generic;
20
using System.Text;
21
using System.Collections.Specialized;
22
using System.Data;
23
using System.Data.SqlClient;
24
using System.Configuration.Provider;
25
using System.Web.Configuration;
26
using System.Diagnostics;
27
using System.Reflection;
28
29
namespace <%= NameSpace%>.Providers
30
>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30