rgvlee / EntityFrameworkCore.Testing

Adds relational support to the Microsoft EntityFrameworkCore in-memory database provider by mocking relational operations.
MIT License
157 stars 15 forks source link

Dependency to Microsoft.EntityFrameworkCore.SqlServer #146

Open aberus opened 5 months ago

aberus commented 5 months ago

I noticed we have a dependency on Microsoft.EntityFrameworkCore.SqlServer NuGet package.

Do we specifically require features unique to this package, or could it be replaced with Microsoft.EntityFrameworkCore.Relational?

Just trying to streamline no needed dependencies.

Thanks!

aberus commented 5 months ago

I create an example for NSubstitute EntityFrameworkCore.Testing.NSubstitute.8.0.1.zip

rgvlee commented 4 months ago

I've had a look and I believe you are correct, the Relational library should do the trick. Once I've verified support I'll release a new version. I can't recall the decision to use the SqlServer library. Relational has been around forever by the looks of it so it's probably just a product of my own projects targeting SQL Server.