【发布时间】:2018-08-15 16:26:42
【问题描述】:
所以我现在正在努力解决这个问题,但我似乎没有成功。在我的应用程序中,我使用的是带有 Entity Framework Core 的通用存储库。 因此,我的存储库总是期望它是从 BaseEntity 的类访问的,或者是从该特定类继承的。 现在我想用它来实现.Net Core Identity。但是我的用户类是从 BaseEntity 继承的。但我也需要它从 Identity 继承以使其工作,我猜。我如何才能继续使用 Identity?
【问题讨论】:
标签: asp.net-core-mvc entity-framework-core asp.net-core-identity