With introduction of ASP.NET Identity, the Database context class needs to be derived from IdentityDbContext<ApplicationUser>.
Can we have a flag, which, if set to true, makes <DbName>DbContext class derived from IdentityDbContext<ApplicationUser> instead of DbContext.
This will make the database class supporting identity by default.
Best Regards,
ParagS.
Comments: Sorry, how do I change the tt file so it outputs IdentityDbContext?
Can we have a flag, which, if set to true, makes <DbName>DbContext class derived from IdentityDbContext<ApplicationUser> instead of DbContext.
This will make the database class supporting identity by default.
Best Regards,
ParagS.
Comments: Sorry, how do I change the tt file so it outputs IdentityDbContext?