dotnet-dynamic-query/PoweredSoft.DynamicQuery.Test/Mock/MockContext.cs
2018-11-15 19:42:30 -06:00

33 lines
773 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore;
namespace PoweredSoft.DynamicQuery.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)
{
}
}
}