I created a short, 30 minutes video on how to get started with Entity Framework 7 Migrations inside ASP.NET v. next (ASP.NET 5). I decided that video would be much better than huge blog post with a ton of screenshots. II uploaded it to YouTube to my channel as a means to share my experiment. There will be more short videos to come, or so I hope. You can see the video here.
Please let me know what you think about it. You can download source code here.
Enjoy.
Good night, Sergey Barskiy.
How could trade names (example: AspNetUsers) of EF7 tables. I’m not finding a solution to add an attribute (eg description) AspNetRoleClaims the table. I can add attributes the AspNetUsers and AspNetRoles tables.
public class ApplicationUser: {IdentityUser
public string Name {get; set; }
}
public class ApplicationRole: IdentityRole
{
public int AppId {I get; set; }
public string Description {get; set; }
App App virtual public {get; set; }
}
public class ApplicationDbContext: IdentityDbContext
…………… {}