Does Simple.Data support the following style query?
DELETE FROM Users
WHERE locationId IN
(
SELECT locationid FROM Location WHERE continent = Europe
)
I've tried a few examples including:
db.Users.DeleteAll(
db.Users.LocationId.IN(db.Locations.FindAllByContinent("Europe").Select(db.Location.LocationId)));
It's not throwing exceptions, but the SQL Server Profiler also tells me that it isn't executing any SQL either.
How would I best achieve this in Simple.Data?
Cheers,