I am trying to configure Identity Store Encountered a problem.
This is what I have so far:
Startup.cs
services.AddIdentity()
.AddEntityFrameworkStores()
.AddDefaultTokenProviders();
This line gives me a headache. AddEntityFrameworkStores is for EF Core, not for the completeness of EF 6 Version.
How to reference the basic data storage of EF6
Thank you
Try AddEntityFrameworkStores
< /div>
I am using EF6 as ORM to create a new project in ASP.NET Core-pay attention to EF Core.
I encountered To the question.
This is what I have so far:
Startup.cs
services.AddIdentity( )
.AddEntityFrameworkStores()
.AddDefaultTokenProviders();
This line gives me a headache. AddEntityFrameworkS tores applies to EF Core, not to the full version of EF 6.
How to reference the basic data storage of EF6
Thank you
< /p>
You seem to have overridden the default data type of ApplicationUser and IdentityRole Id.
Try AddEntityFrameworkStores
WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2127 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC