You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create an example of replacing a service inside EF Core as shown in a Channel 9 video by Rowan Miller starting at 45 minutes in.
My example (see below) doesn't work. And I can confirm that the constructor is not called, nor the overriden method are called, as my break points are never triggered. Can you tell me what I am doing wrong.
Steps to reproduce
Here is one of the versions I have tried (I have tried a few permutations and none work).
Here is the unit test, with the new CustomSqlServerTypeMapper
I'm trying to create an example of replacing a service inside EF Core as shown in a Channel 9 video by Rowan Miller starting at 45 minutes in.
My example (see below) doesn't work. And I can confirm that the constructor is not called, nor the overriden method are called, as my break points are never triggered. Can you tell me what I am doing wrong.
Steps to reproduce
Here is one of the versions I have tried (I have tried a few permutations and none work).
Here is the unit test, with the new
CustomSqlServerTypeMapper
My entity class is
Further technical details
EF Core version: 2.0.0
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE: VS2017 15.3
The text was updated successfully, but these errors were encountered: