24 lines
571 B
C#
24 lines
571 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Forum.DataAccessLayer.Models;
|
|
using Microsoft.AspNet.Identity.EntityFramework;
|
|
|
|
namespace Forum.DataAccessLayer
|
|
{
|
|
public class ApplicationDbContext : IdentityDbContext<ProfessionalUser>
|
|
{
|
|
public ApplicationDbContext()
|
|
: base("DefaultConnection", throwIfV1Schema: false)
|
|
{
|
|
}
|
|
|
|
public static ApplicationDbContext Create()
|
|
{
|
|
return new ApplicationDbContext();
|
|
}
|
|
}
|
|
}
|