<%-- Name: Database Table Properties Author: Paul Welter Description: Create a list of properties from a database table --%> <%@ CodeTemplate Language="C#" Encoding="utf-8" TargetLanguage="C#" Debug="True" Description="Create a list of properties from database table." %> <%@ Property Name="SourceTable" Type="SchemaExplorer.TableSchema" Category="Context" Description="Table that the object is based on." %> <%@ Property Name="ModuleName" Type="String" Category="Context" Description="模块名称" %> <%@ Map Name="CSharpAlias" Src="System-CSharpAlias" Description="System to C# Type Map" %> <%@ Assembly Name="SchemaExplorer" %> <%@ Import Namespace="SchemaExplorer" %> @{ string _prefix = "<%=ModuleName%>"; var _treeId = _prefix + "Tree"; var _gridId = _prefix + "Grid"; var _treeDetail = _prefix + "Detail"; }