How does one use the following Method on the awesome MongoDB c# Driver!????
public IList<TEntity>SearchFor(Expression<Func<TEntity, bool>> predicate)
{
return collection
.AsQueryable<TEntity>()
.Where(predicate.Compile())
.ToList();
}
Examples would be ideal!