Skip to content

Instantly share code, notes, and snippets.

@hoangitk
Created September 19, 2014 06:37
Show Gist options
  • Save hoangitk/f7c6d166f4b0c24274f1 to your computer and use it in GitHub Desktop.
Save hoangitk/f7c6d166f4b0c24274f1 to your computer and use it in GitHub Desktop.
this.session.Query<Notice>().Where( n =>
this.session.Query<User>().Any(u => u.UserId == "007"
&& !u.DismissedNotices.Contains(n) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment