blob: 3a682b02070491d5745b3df3d79c9de4eb834abe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System;
using ExamTemplate.Data.Models;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace ExamTemplate.Data
{
public class TemplateContext : IdentityDbContext<User, Role, Guid>
{
public TemplateContext(DbContextOptions<TemplateContext> options)
: base(options) { }
protected override void OnModelCreating(ModelBuilder builder)
{
/* Custom logic here! */
base.OnModelCreating(builder);
}
}
}
|