Home > Net >  Turn the SQL linq
Turn the SQL linq

Time:11-25

The select p. arent, B.I d, A.N AME, B.N AME, biggest reateUserName, biggest reateTime,
The count (ame) AS Num
The FROM CostSubject A
LEFT the JOIN CostSubject B ON p. arent=Anderson d
LEFT the JOIN CostSubject C ON C.P arent=B.I d
GROUP BY p. arent, B.I d, A.N AME, B.N AME, biggest reateUserName, biggest reateTime

CodePudding user response:

If you compare lazy, then direct call dbcontext. Sqlquery (SQL)
  • Related