System.ArgumentException: Member 'Convert' does not supported
Closed this issue · 7 comments
System.ArgumentException: Member 'Convert' does not supported.
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.AppendBinaryPart(Expression node, ExpressionType type)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.VisitBinary(BinaryExpression binary)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.Translate(ITranslationResult result, MethodCallExpression method)
at WindowsAzure.Table.Queryable.Expressions.QueryTranslator.VisitMethodCall(MethodCallExpression methodCall, ITranslationResult result)
at WindowsAzure.Table.Queryable.Expressions.QueryTranslator.Translate(Expression expression, ITranslationResult result)
at WindowsAzure.Table.Queryable.TableQueryProvider1.Execute(Expression expression) at WindowsAzure.Table.Queryable.Base.Query
1.GetEnumerator()
at System.Collections.Generic.List1..ctor(IEnumerable
1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
Running in US locale.
Mike,
Thanks for posting. It was fixed in the next commit: e97624d
Available in the nuget package v0.7.5.
Still appears.
Could you provide a code sample for that case? What is it Convert expression member? By call stack it's impossible to determine that.
Before this I predicted that it was method call, which covered by BinaryExpressionWithPrivateMethodCall test in the WhereTests.cs.
Exception occurs here:
Select().Where(p=>p.LastUpdateDate<date)
where Select()
is TableSet<TItem>
,date
is DateTime
and LastUpdateDate
is DateTime?
This line works perfect in emulator, but in cloud fails.
Thank you, it was localized and fixed in 8925534
Available in the nuget package v0.7.6.