19 lines
571 B
C#
19 lines
571 B
C#
using LCU.Library.Internal.DataCleanUpModel.Entities;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace LCU.Api.Internal.DataCleanUpLib.Persistence
|
|
{
|
|
public class AppDbContext : DbContext
|
|
{
|
|
public DbSet<Ltv_DataCleanUp> LtvDataCleanUp { get; set; }
|
|
|
|
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }
|
|
|
|
protected override void OnModelCreating(ModelBuilder builder)
|
|
{
|
|
base.OnModelCreating(builder);
|
|
builder.Entity<Ltv_DataCleanUp>().ToTable("LTV_DataCleanUp");
|
|
}
|
|
}
|
|
}
|