-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.4
-
Component/s: None
-
None
To reproduce:
public class C { public ObjectId Id; public int X; } public class D : C { public int Y; }
var query = from d in collection.AsQueryable<D>() where d.X == 1 select d; foreach (var document in query) { Console.WriteLine(document.ToJson()); }
- is duplicated by
-
CSHARP-432 Linq doesn't work with derived types when needs to query by string value field
- Closed