I’m trying to migrate to the new linq3, I have hundreds of queries that does not work anymore! I didn’t find any documents regarding to upgrade. I tried mongodb.analyzer nothing actionable! it’s too buggy to consider it useful.
An example would be this query that works with v2 perfectly. Not with V3
var query = _dbContext
.GetCollection()
.Find(p => true)
.SortByDescending(p => p.CreatedDate)
.Skip(parameters.Skip)
.Limit(parameters.Take)
.Project(p => new PartnerListModel
{
Id = p.Id,
Name = p.Name,
Status = String.Join(", ", p.Types.Select(p => PartnerProgram.FromCode(p.PartnerProgram).Name + ": " + p.Status.ToString()))
})
.ToList();