Adding
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user