You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
610 B

using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using WebAPIWithEF.Models;
namespace WebAPIWithEF.Data;
public partial class PromotionsContext : DbContext
{
public PromotionsContext()
{
}
public PromotionsContext(DbContextOptions<PromotionsContext> options)
: base(options)
{
}
public virtual DbSet<Coupon> Coupons { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
OnModelCreatingPartial(modelBuilder);
}
partial void OnModelCreatingPartial(ModelBuilder modelBuilder);
}