subsonic-select

Column with same name in multiple tables causing problem in SubSonic Select

三世轮回 提交于 2019-12-08 05:13:11
问题 there are other question (at least 2 I've seen them) similar to this but I'm not able to solve this using them. Now the problem: I've 3 table from which I need to select 4 columns only. I'm using InnerJoin and it is working perfectly. Problem starts when I add a Where to this Select. I've a column named "Name" in two tables. If I add simply the .Where("Name").Like("A%") It says "... ambiguous column name.." If I use fully qualified column name (with table prefixed to column name) it says must