dev
Line | |
---|
1 | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
---|
2 | using Microsoft.EntityFrameworkCore;
|
---|
3 | using FinkiChattery.Identity.Models;
|
---|
4 |
|
---|
5 | namespace FinkiChattery.Identity.Data
|
---|
6 | {
|
---|
7 | public class ApplicationDbContext<TUser> : IdentityDbContext<TUser, ApplicationRole, long> where TUser : ApplicationUser
|
---|
8 | {
|
---|
9 | public ApplicationDbContext(DbContextOptions<ApplicationDbContext<TUser>> options)
|
---|
10 | : base(options)
|
---|
11 | {
|
---|
12 | }
|
---|
13 |
|
---|
14 | protected override void OnModelCreating(ModelBuilder builder)
|
---|
15 | {
|
---|
16 | base.OnModelCreating(builder);
|
---|
17 | }
|
---|
18 | }
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.