using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using PricingCatalog.Models;

namespace Catalog26.Data;

public class Catalog26Context : DbContext
{
    public Catalog26Context (DbContextOptions<Catalog26Context> options)
        : base(options)
    {
    }

    public DbSet<TDSPriceAvailability> TDSCatalogItems { get; set; } = default!;
    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        // base.OnModelCreating(modelBuilder);
        modelBuilder.Entity<TDSPriceAvailability>().ToTable("TDSPriceAvailability");
    }
}
