gurustron commented on code in PR #1906:
URL: https://github.com/apache/ignite-3/pull/1906#discussion_r1160678996
##########
modules/platforms/dotnet/Apache.Ignite/Internal/Linq/ResultSelector.cs:
##########
@@ -75,6 +77,16 @@ public static RowReader<T>
Get<T>(IReadOnlyList<IColumnMetadata> columns, Expres
static k => EmitConstructorReader<T>(k.Target, k.Columns,
k.Options));
}
+ if (selectorExpression is MemberInitExpression memberInitExpression)
+ {
+ var ctorInfo = memberInitExpression.NewExpression.Constructor!;
+ var cacheTarget = new MemberInitCacheTarget(ctorInfo,
memberInitExpression.Bindings.Select(b => b.Member).ToList());
Review Comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]