Hi,
My apologies if this has been answered before either on this forum or in the documentation. I have looked but couldn't find anything...
I'm trying to translate the following into LLBLGen.
Please note I'm using .Net 2.0 so no LINQ unfortunately.
DELETE FROM EventDay
FROM EventDay ed
INNER JOIN Event e ON ed.EventId = e.Id
LEFT JOIN EventBooking b ON b.EventDayId = ed.Id
WHERE b.Id IS NULL AND e.Id = @EventId
Basically I'm trying to delete all the event days that haven't been booked yet. Is this possible? If so, whats the best way of doing it? Or shall I just write a SPROC?
Thanks
Chris.