Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1737

LinqToMongo.Inject() throws Execption

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.2.4
    • None
    • None

    Description

      var point = GeoJson.Point(GeoJson.Geographic(locationAddress.Coordinates.Longitude, locationAddress.Coordinates.Latitude));

      var locationClause = Query<CarAuctionItem>.Near(y => y.Address.Location, point, maxDistance);

      collection.AsQueryable.Where(x => locationClause.Inject()).ToList();

      Attachments

        Activity

          People

            Unassigned Unassigned
            o.erdem@arbesoft.de Osman Erdem
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: