Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from t1 in db.Table
- where !db.Table.Any(t2 => t1.Id + 1 == t2.Id)
- select t1.Id + 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement