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.
24 lines
647 B
24 lines
647 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using DbContextLib;
|
|
using Entities;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace StubbedContextLib
|
|
{
|
|
public class StubbedContext : LibraryContext
|
|
{
|
|
public List<PersonEntity> Persons { get; set; } = new List<PersonEntity>();
|
|
public List<BookEntity> Books { get; set; } = new List<BookEntity>();
|
|
|
|
public StubbedContext() {
|
|
Books.Add(new BookEntity("test", "test", "test"));
|
|
Books.Add(new BookEntity("test2", "test2", "test2"));
|
|
}
|
|
|
|
}
|
|
}
|