We would like to use this library in a project that does not support netstandard2.1 and it seems that this library and it's dependencies also work with netstandard2.0. This PR restores support for netstandard2.0 to make that possible. We would like to avoid duplicating your code in our project and this is why we submitted this PR.
How Has This Been Tested
In a project where we would like to use this library we added a reference to this project on disk and used .AsQueryable().BuildMockDbSet(). And in that test we also hit the ExecuteAsync method that has been changed because genericParameterCount is not supported in netstandard2.0.
Checklist
[x] My code follows the code style of this project.
Description
We would like to use this library in a project that does not support netstandard2.1 and it seems that this library and it's dependencies also work with netstandard2.0. This PR restores support for netstandard2.0 to make that possible. We would like to avoid duplicating your code in our project and this is why we submitted this PR.
How Has This Been Tested
In a project where we would like to use this library we added a reference to this project on disk and used
.AsQueryable().BuildMockDbSet()
. And in that test we also hit theExecuteAsync
method that has been changed becausegenericParameterCount
is not supported in netstandard2.0.Checklist