c# - How to use Identity with Entity Framework database first in ASP.NET MVC -
when try use identity ef database first, following error
missing partial modifier on declration of type 'myproject.models.userprofile' partial declration of type exist.
basically error because there partial class
called userprofile
exist in accountmodel
class , class
same name represent table
generated using identity.
so should do?
make sure both classes defined used "partial" modifier.
Comments
Post a Comment