I found a bug when using a Where Expression when any of the properties is an enum.
I'm going to work to fix it.
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.AppendConstant(Expression node)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.AppendBinaryPart(Expression node, ExpressionType type)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.VisitBinary(BinaryExpression binary)
at System.Linq.Expressions.BinaryExpression.Accept(ExpressionVisitor visitor)
at System.Linq.Expressions.ExpressionVisitor.Visit(Expression node)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.Translate(ITranslationResult result, MethodCallExpression method)
at WindowsAzure.Table.Queryable.Expressions.Methods.WhereTranslator.Translate(MethodCallExpression method, ITranslationResult result)
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.Query1.GetEnumerator()
at System.Linq.AsyncEnumerable.AsyncEnumerableAdapter1.<MoveNextCore>d__5.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult()
at System.Linq.AsyncIteratorBase1.<MoveNextAsync>d__8.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Linq.AsyncIteratorBase1.d__8.MoveNext() in
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult() at System.Linq.AsyncEnumerable.<<TryGetFirst>g__Core|291_0>d1.MoveNext() in
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Linq.AsyncEnumerable.<g__Core|291_0>d1.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at System.Threading.Tasks.ValueTask1.get_Result()
at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult() at System.Linq.AsyncEnumerable.<<FirstOrDefaultAsync>g__Core|287_0>d1.MoveNext() in
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.ValueTask1.get_Result() at System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult()
at FisTech.Tests.Persistence.WindowsAzure.TableReadOnlyRepositoryTests.<AllAsync_WhenFilterByOneItem_ReturnsOneItem>d__12.MoveNext() in
I found a bug when using a Where Expression when any of the properties is an enum.
I'm going to work to fix it.
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.AppendConstant(Expression node)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.AppendBinaryPart(Expression node, ExpressionType type)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.VisitBinary(BinaryExpression binary)
at System.Linq.Expressions.BinaryExpression.Accept(ExpressionVisitor visitor)
at System.Linq.Expressions.ExpressionVisitor.Visit(Expression node)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.Translate(ITranslationResult result, MethodCallExpression method)
at WindowsAzure.Table.Queryable.Expressions.Methods.WhereTranslator.Translate(MethodCallExpression method, ITranslationResult result)
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.TableQueryProvider
1.Execute(Expression expression) at WindowsAzure.Table.Queryable.Base.Query1.GetEnumerator()at System.Linq.AsyncEnumerable.AsyncEnumerableAdapter
1.<MoveNextCore>d__5.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult()at System.Linq.AsyncIteratorBase
1.<MoveNextAsync>d__8.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Linq.AsyncIteratorBase1.d__8.MoveNext() inat System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable
1.ConfiguredValueTaskAwaiter.GetResult() at System.Linq.AsyncEnumerable.<<TryGetFirst>g__Core|291_0>d1.MoveNext() inat System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Linq.AsyncEnumerable.<g__Core|291_0>d
1.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at System.Threading.Tasks.ValueTask1.get_Result()at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable
1.ConfiguredValueTaskAwaiter.GetResult() at System.Linq.AsyncEnumerable.<<FirstOrDefaultAsync>g__Core|287_0>d1.MoveNext() inat System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.ValueTask
1.get_Result() at System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult()at FisTech.Tests.Persistence.WindowsAzure.TableReadOnlyRepositoryTests.<AllAsync_WhenFilterByOneItem_ReturnsOneItem>d__12.MoveNext() in