Getting Started with Entity Framework 7

preview_player
Показать описание
This video walks through the basic steps of using Entity Framework 7 inside ASP.NET v. next (ASP.NET 5) Web Api project.
Рекомендации по теме
Комментарии
Автор

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 
    {}

marcosphs
Автор

I published a short 25 minutes video on how to get started with EF 7

SergeyBarskiy
Автор

Sergey this video may need some updating after the release of DNX beta 5

WaelKdouh
Автор

You had cxt in one class and ctx in the other

jimmanlove