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 -

Fatal error: Call to undefined function menu_execute_active_handler() in drupal 7.9 -

python - RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK -