- 兼容 Vb.Net 无法使用 IncludeMany 的问题;

This commit is contained in:
28810 2019-12-21 20:33:12 +08:00
parent 5b33e2d062
commit 1b1f5c12ae

View File

@ -386,7 +386,7 @@ namespace FreeSql.Internal.CommonProvider
var expBody = navigateSelector?.Body; var expBody = navigateSelector?.Body;
if (expBody == null) return this; if (expBody == null) return this;
if (expBody.NodeType == ExpressionType.Convert) expBody = (expBody as UnaryExpression)?.Operand; if (expBody.NodeType == ExpressionType.Convert) expBody = (expBody as UnaryExpression)?.Operand; //- 兼容 Vb.Net 无法使用 IncludeMany 的问题;
MethodCallExpression whereExp = null; MethodCallExpression whereExp = null;
int takeNumber = 0; int takeNumber = 0;
Expression<Func<TNavigate, TNavigate>> selectExp = null; Expression<Func<TNavigate, TNavigate>> selectExp = null;