lingling
2025-03-17 a6325d1a9bd8d5a9b9c6424b3cb6d0c898309d30
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
29
30
31
32
33
34
35
36
37
38
39
using LifePayment.Domain;
using LifePayment.Domain.Models;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.Uow;
 
namespace LifePayment.EntityFrameworkCore
{
    [ConnectionStringName(LifePaymentServicesDbProperties.ConnectionStringName)]
    public class LifePaymentServicesDbContext : AbpDbContext<LifePaymentServicesDbContext>, ILifePaymentServicesDbContext
    {
        public LifePaymentServicesDbContext(DbContextOptions<LifePaymentServicesDbContext> options)
        : base(options)
        {
        }
 
 
        public virtual DbSet<LifePayUser> LifePayUser { get; set; }
 
        public virtual DbSet<LifePayOrder> LifePayOrder { get; set; }
 
        public virtual DbSet<LifePayRate> LifePayRate { get; set; }
 
        public virtual DbSet<Area> Area { get; set; }
 
        public virtual DbSet<LifePayChannles> LifePayChannles { get; set; }
 
        public virtual DbSet<LifePayAccount> LifePayAccount { get; set; }
 
        [UnitOfWork]
        protected override void OnModelCreating(ModelBuilder builder)
        {
            ModelDbContextModelBuilderExtensions.ConfigureModels(builder);
            base.OnModelCreating(builder);
 
        }
    }
}