Answers
- We'd have to manually configure the database server firewall to allow our services to access the database.
- With this technique, we can create our database (or use an existing database) in a tool such as SQL Management Studio using SQL scripts or the designer, then in Visual Studio, we can create an ADO.NET EDM to create entities and map them to existing tables.
- The
Navigation
properties allow us to access related entities through a given entity. We use the virtual modifier onnavigation
properties. - It extends a normal
DbContext
with access to the ASP.NET authentication users and roles tables. - Add a
navigation
property to our user entity in theApplicationUser
entity. - Enter the
enable-migrations
cmdlet in the NuGet package manager console.
Get Learning Microsoft Azure now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.