How would I write the following query in LLBLGen? (The WHERE clause is where I am having the issue)
** I am using LLBLGen 2.5.
SELECT *
FROM XXXX
WHERE (Column1 + column2 < {some value})
This is the complete query
SELECT COUNT(*) TripCount
FROM Trip
WHERE Location_Id = @LocationId
AND Departure_On = @TourDate
AND (Departure_Time BETWEEN @TourTime AND (@TourTime + (@TourDuration-1))
OR (Departure_Time + Trip_Duration >= @TourTime AND Departure_Time < @TourTime))
AND Schedule_Position = @SchedulePosition
Thanks