问题标签 [subsonic-select]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - 多个表中具有相同名称的列导致 SubSonic Select 出现问题
还有其他类似的问题(我见过至少 2 个),但我无法使用它们解决这个问题。
现在的问题是:我有 3 个表,我只需要从中选择 4 列。我正在使用 InnerJoin,它运行良好。当我向此选择添加位置时,问题就开始了。我在两个表中有一个名为“名称”的列。如果我简单地添加
它说“......列名不明确......”
如果我使用完全限定的列名(表前缀为列名)它说必须声明参数@TABLE_NAME
我也尝试过传递硬编码的字符串,但没有任何效果!
subsonic - InnerJoin with Where Expression 麻烦
我正在使用 Subsonic 2.1,我需要进行内部连接并使用 where 表达式,但我不断收到错误消息:
这是我的代码:
我尝试用 10 种不同的方式重新安排这件事,但似乎无法做到正确。