-
Type: Bug
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: LINQ3
-
None
-
Dotnet Drivers
Example:
class A { public int X { get; set; } }
class B { public A[] A { get; set; } public int Y { get; set; } }
class C { public B[] B { get; set; } }
Support specifying "B.A.X" path by:
var field = new ExpressionFieldDefinition<C>((C c) => c.B.Select(b => b.A.Select(a => a.X)));
Note, the following expression is supported:
coll.AsQueryable().Select(c => new {Xs = c.B.Select(b => b.A.Select(a => a.X))});