比如引用 CodeSmith 自带的 CodeSmith.CustomProperties.dll ,可以使用如下语句:
<%@ Assembly Name=”CodeSmith.CustomProperties” %>
比如我们之前的例子
<%--引入下面的类库,操作数据库必备的。不要纠结加入就行啦。--%>
<%@ Assembly Name="SchemaExplorer" %>
<%@ Import Namespace="SchemaExplorer" %>Code language: HTML, XML (xml)
Previous: 12-转义
Next: 14-CodeSmith 调试