Skip to content

Instantly share code, notes, and snippets.

@JudahGabriel
Created August 1, 2019 20:50
Show Gist options
  • Save JudahGabriel/0361119ca93a725624505f50f3f8f7c6 to your computer and use it in GitHub Desktop.
Save JudahGabriel/0361119ca93a725624505f50f3f8f7c6 to your computer and use it in GitHub Desktop.
Querying for orange-lovin' cowboys in a RavenDB Cloud cluster
using (var session = raven.OpenSession())
{
var cowboys = session.Query<Cowboy>().Where(c => c.FavoriteColor == "Orange");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment