コード例 #1
0
 public AuthorRepository(BookstoreDbContext context)
 {
     _context = context;
 }
コード例 #2
0
 public PublisherRepository(BookstoreDbContext context)
 {
     _context = context;
 }
コード例 #3
0
 public BookRepository(BookstoreDbContext bookstoreDbContext)
 {
     _bookstoreDbContext = bookstoreDbContext;
 }
コード例 #4
0
 public OrderRepository(BookstoreDbContext bookstoreDbContext,
                        ShoppingCart shoppingCart)
 {
     _bookstoreDbContext = bookstoreDbContext;
     _shoppingCart       = shoppingCart;
 }
コード例 #5
0
 public GenreRepository(BookstoreDbContext context)
 {
     _context = context;
 }
コード例 #6
0
 public ReviewRepository(BookstoreDbContext bookstoreDbContext)
 {
     _bookstoreDbContext = bookstoreDbContext;
 }