/
weeny
/
aspnetcore
Обзор
Документация
Войти
/
weeny
/
aspnetcore
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
ApplicationDbContext.cs
18 строк
643 B
weeny
Create: .gitignore, ApplicationDbContext.cs, appsettings.json, AspNetCoreAuthApp.csproj, build.ps1, COMPILE_AND_RUN.md, Program.cs, README.md
08 июн 2026, 19:33
Верифицирован
08 июн 2026, 19:33
891b032
Код
Авторство
О чём код?
using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; public class ApplicationDbContext : IdentityDbContext<IdentityUser> { public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options) { } protected override void OnModelCreating(ModelBuilder builder) { base.OnModelCreating(builder); // Customize the ASP.NET Identity model and override defaults if needed. // For example, you can rename the ASP.NET Identity table names and more. // Add your customizations after calling base.OnModelCreating(builder); } }