22 lines
636 B
C#
22 lines
636 B
C#
|
using MultiShop.Models;
|
|||
|
using IdentityServer4.EntityFramework.Options;
|
|||
|
using Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
using Microsoft.Extensions.Options;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace MultiShop.Data
|
|||
|
{
|
|||
|
public class ApplicationDbContext : ApiAuthorizationDbContext<ApplicationUser>
|
|||
|
{
|
|||
|
public ApplicationDbContext(
|
|||
|
DbContextOptions options,
|
|||
|
IOptions<OperationalStoreOptions> operationalStoreOptions) : base(options, operationalStoreOptions)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|