我与Subsonic 3和模板工作良好,直到2009年11月。现在我直接从Git获取源代码,但是ActiveRecord模板不再正确生成。在SQLite的ActiveRecord模板的第334行中:
return from items in repo.GetAll()
where items.<#=CleanUp(fk.OtherColumn)#>
== <#=CleanUp(fk.ThisColumn)#>错误:名称'CleanUp‘在当前上下文中不存在
但是我在Subsonic.Core项目中找不到CleanUp方法。有人知道这件事吗?
发布于 2009-12-27 14:10:36
我没有比Settings.ttinclude的 version of the method更多的补救办法了。现在Structs.tt不会生成。
https://stackoverflow.com/questions/1965258
复制相似问题