sunpengfei
7 天以前 5262f7b77aea5cf8c1543f48b34f311665d61518
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using FlexJobApi.Core;
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace FlexJobApi.EntityFramework.Core
{
    /// <summary>
    /// 人力资源数据库上下文
    /// </summary>
    [AppDbContext("HumanResources", DbProvider.SqlServer)]
    public class HumanResourcesDbContext : AppDbContext<HumanResourcesDbContext, HumanResourcesDbContextLocator>
    {
        public HumanResourcesDbContext(DbContextOptions<HumanResourcesDbContext> options) : base(options)
        {
        }
 
        /// <summary>
        /// 地区
        /// </summary>
        public DbSet<BaseArea> BaseArea { get; set; }
    }
}