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<LifePayChannles> LifePayChannles { get; set; } public virtual DbSet<LifePayAccount> LifePayAccount { get; set; } [UnitOfWork] protected override void OnModelCreating(ModelBuilder builder) { base.OnModelCreating(builder); } } }