帮助我理解为什么声明:
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>)