Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5de58a3

Browse files
Install identity core in asp.net core app
1 parent 224aa20 commit 5de58a3

File tree

6 files changed

+853
-3
lines changed

6 files changed

+853
-3
lines changed

‎Webgentle.BookStore/Webgentle.BookStore/Data/BookStoreContext.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
using Microsoft.EntityFrameworkCore;
1+
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
2+
using Microsoft.EntityFrameworkCore;
23
using System;
34
using System.Collections.Generic;
45
using System.Linq;
56
using System.Threading.Tasks;
67

78
namespace Webgentle.BookStore.Data
89
{
9-
public class BookStoreContext : DbContext
10+
public class BookStoreContext : IdentityDbContext
1011
{
1112
public BookStoreContext(DbContextOptions<BookStoreContext> options)
1213
: base(options)

‎Webgentle.BookStore/Webgentle.BookStore/Migrations/20200914132507_addedidentitycore.Designer.cs

Lines changed: 376 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /