Example #1
0
 public UserRepository(EBookStoreDbContext context) : base(context)
 {
 }
Example #2
0
 public UserScenarios(QueryTestFixture fixture)
 {
     _client  = fixture.Client;
     _context = fixture.Context;
 }
Example #3
0
 public BookRespository(EBookStoreDbContext context) : base(context)
 {
 }
 public static void Destroy(EBookStoreDbContext context)
 {
     context.Dispose();
 }
 public static void Create(EBookStoreDbContext context)
 {
     context.Database.EnsureCreated();
     EBookStoreDbInitializer.Initialize(context);
 }
 public PurchasedBookRepository(EBookStoreDbContext context) : base(context)
 {
 }
 public PurchaseBookScenarios(QueryTestFixture fixture)
 {
     _client  = fixture.Client;
     _context = fixture.Context;
 }