entity-framework-core-mock icon indicating copy to clipboard operation
entity-framework-core-mock copied to clipboard

Extend visitor of async provider to support ExecuteDelete and ExecuteUpdate

Open nevaldas opened this issue 1 year ago • 1 comments

Currently, when using EF7 ExecuteUpdateAsync or ExecuteDeleteAsync, it will fail that given method is not found. Reason is, that internally EntityRewriter visitor will change type from IQueryable to IEnumerable and then it will not match method's arguments, thus failing to find it. This fixes the issue by simply skipping internal EntityRewriter and providing fake methods to call, because there's no implementation of those methods for IEnumerable.

nevaldas avatar Nov 09 '23 08:11 nevaldas

Is this project still alive or not anymore?

nevaldas avatar Nov 23 '23 07:11 nevaldas