Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
Question regarding Generics
Tridip Bhattacharjee
Dec 22 2017 2:59 AM
146
Reply
what is the meaning of IdentityDbContext<ApplicationUser>
public
class
ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public
ApplicationDbContext(): base(
"DefaultConnection"
)
{
}
protected
override
void
OnModelCreating(DbModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
modelBuilder.Entity<IdentityUser>().ToTable(
"MyUsers"
);
}
}
i am bit weak in generics. please tell me the meaning of this line public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
what the above line is doing?
thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
creating control on Run time in tablepanellayout
How to Save Image in Database