Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

using Microsoft.AspNetCore.Identity.EntityFrameworkCore;

$
0
0

I'm porting over a site from MVC 5 and In one of my classes I have this used:

public classWebRoleEntity : IdentityRole<Guid,WebUserRoleEntity>, IWebRole

IdentityRole in the old site used this:

using Microsoft.AspNet.Identity.EntityFramework;

I changed it to this:
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;

when i hover over VS is telling me: "the non-generic type cannot be used with type arguments"

I'm still new to this so I'm trying to wrap around this as I'm porting the old to the new and figuring out why it worked on the old but throwing an error now with the new.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>