【发布时间】:2015-04-26 16:59:59
【问题描述】:
我正在为我的对象模型中的特定实体添加一个基类。为此,我遵循了以下链接中的示例:
http://drc.ideablade.com/devforce-2012/bin/view/Documentation/model-custom-base-class
http://drc.ideablade.com/devforce-2012/bin/view/Documentation/custom-code-generation-template
我的 *.tt 文件看起来与第一个链接中的示例完全相同,其中包含在第二个链接中列出的程序集。
目前我在编译转换时遇到两个错误:
Compiling transformation: The type or namespace name 'EntityOrComplexTypeWrapper' could not be found (are you missing a using directive or an assembly reference?)
Compiling transformation: The type or namespace name 'EntityTypeWrapper' could not be found (are you missing a using directive or an assembly reference?)
你能提供任何帮助解决这个问题吗?
【问题讨论】: