1

帮助我理解为什么声明:

var query =
collection.AsQueryable<C>()
.Where(c => c.A.ContainsAll(new[] { 1, 2, 3 }));

导致此错误:

int does not contain a definition for ContainsAll and the best extension method overload MongoDB.Driver.Linq.LinqToMongo.ContainsAll<TSource>(System.Collections.Generic.IEnumerable<TSource>)
4

1 回答 1

0
.Where(x => Query.All("Field", array).Inject())
于 2013-03-20T15:44:05.153 回答