You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classA{publicintId{get;set;}publicintUserId{get;set;}publicstringFoo{get;set;}classB{publicintId{get;set;}publicintUserId{get;set;}publicstringBar{get;set;}varq=fromaindb.GetTable<A>()frombindb.GetTable<B>().Where(x =>x.Bar==a.Foo)selectnew{a,b};q.Update(db.GetTable<A>(),old=>new A { UserId =old.b.UserId});
Generated query
UPDATE `A` `x1` INNER JOIN `B` `x` ON `x`.`Bar` = `x1`.`Foo`
SET
`UserId` = `x`.`UserId`
An unhandled exception of type 'BLToolkit.Data.DataException' occurred in BLToolkit.4.dll
Additional information: Column 'UserId' in field list is ambiguous
The text was updated successfully, but these errors were encountered:
Generated query
The text was updated successfully, but these errors were encountered: