dotnet-dynamic-query/PoweredSoft.DynamicQuery.Test/Mock/MockContext.cs

32 lines
726 B
C#
Raw Normal View History

2018-10-22 21:21:14 -04:00
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 MockContext()
{
}
public MockContext(DbContextOptions<MockContext> options)
: base(options)
{
}
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
}
}
}