I do not think that this would be possible in general. Imagine you made this request:
dataContext.Users.InsertOnSubmit(new User { GroupId = 1 });
var groups = dataContext.Groups.Where(grp => grp.Users.Any());
(), , SQL- Id = 1. , DataContext - , "" (, , , ) , , , . , L2S , , , - , .
-
foreach (var name in names.Distinct(StringComparer.InvariantCultureIgnoreCase))
?