public class PaymentDetailContext:DbContext //inherit this class from DB context from entity framework core DB Context
{
public PaymentDetailContext(DbContextOptions<PaymentDetailContext> options):base(options)
//CONSTRUCTOR-------------PARAMETER----------TYPE----------------NAME---PARENT CONTSTRUCTOR
{
}
public DbSet<PaymentDetail> PaymentDetails { get; set; }
}