EntityFramework-Extensions icon indicating copy to clipboard operation
EntityFramework-Extensions copied to clipboard

UpdateFromQueryAsync not working anymore

Open chrfin opened this issue 6 years ago • 1 comments

This is a follow-up on #263 as it is the same query, but with the newest update I get a different exception:

The sequence contains no elements.
    at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at .[](IQueryable`1 , Expression`1 , SchemaEntityType`1 )
   at .[](IQueryable`1 , Expression`1 )
   at  DbContextExtensions.UpdateFromQuery[TEntity](IQueryable`1 query, Expression`1 updateExpression, Action`1 bulkOperationFactory)

chrfin avatar Aug 24 '19 09:08 chrfin

Hello @chrfin ,

Thank you for reporting, we will look at it.

Best Regards,

Jonathan

JonathanMagnan avatar Aug 25 '19 15:08 JonathanMagnan