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

LinqToMongo.Inject() throws Execption

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.2.4
    • Component/s: None
    • Labels:
      None

      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();

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

              Created:
              Updated:
              Resolved: