33 lines
760 B
C#
33 lines
760 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace PoweredSoft.Test.Mock
|
|
{
|
|
public class MockContext : DbContext
|
|
{
|
|
public virtual DbSet<Customer> Customers { get; set; }
|
|
public virtual DbSet<Item> Items { get; set; }
|
|
public virtual DbSet<Order> Orders { get; set; }
|
|
public virtual DbSet<OrderItem> OrderItems { get; set; }
|
|
public virtual DbSet<Ticket> Tickets { get; set; }
|
|
|
|
public MockContext()
|
|
{
|
|
|
|
}
|
|
|
|
public MockContext(DbContextOptions<MockContext> options)
|
|
: base(options)
|
|
{
|
|
|
|
}
|
|
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|