erikojebo/WeenyMapper — Issue #30: Add support for In-queries
Author: erikojebo
Created: 2012-01-13 23:18:16+00:00
State: open

Syntax:

var titles = new [] { "Title 1", "Title 2" };
var books = repo.Find().Where(x => titles.Contains(x.Title)).ExecuteList();

// or

var titles = new [] { "Title 1", "Title 2" };
var books = repo.Find().WhereIn(x => Title, titles).ExecuteList();