Skip to content

Commit

Permalink
#not use code
Browse files Browse the repository at this point in the history
  • Loading branch information
ZEXSM committed Jul 31, 2019
1 parent 6eb7e85 commit 93c46da
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/OData.QueryBuilder/Extensions/ExpressionExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,6 @@ public static string ToODataQuery(this Expression expression, string queryString
resource = (methodCallExpression.Object as MemberExpression).GetMemberExpressionValue();
filter = methodCallExpression.Arguments[0].ToODataQuery(queryString);
}
else if ((methodCallExpression.Arguments[0] as MemberExpression)?.Expression is MemberExpression)
{
resource = (methodCallExpression.Arguments[0] as MemberExpression).GetMemberExpressionValue();
filter = methodCallExpression.Arguments[1]?.ToODataQuery(queryString);
}

if (resource is IEnumerable<int>)
{
Expand Down

0 comments on commit 93c46da

Please sign in to comment.