Inheritance Table-per-type can't finde method UseTptMappingStrategy()

Kareem Azam 1 Reputation point
2022-12-17T21:55:49.02+00:00

Ef core version 7.0.1

as mentioned in the documentation there is two way to implement tbt
https://learn.microsoft.com/en-us/ef/core/modeling/inheritance#table-per-type-configuration
271742-image.png

and that is what I did that works fine
271668-image.png

but if I want to use UseTptMappingStrategy

modelBuilder.Entity<Blog>().UseTptMappingStrategy()  

271734-image.png
not exist in the model builder

Developer technologies | .NET | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.