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

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -