Browse Source

Merge pull request #23228 from abpframework/maliming-patch-2

Update part-01.md
pull/23229/head
Engincan VESKE 7 months ago
committed by GitHub
parent
commit
a015afb320
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/tutorials/book-store/part-01.md

2
docs/en/tutorials/book-store/part-01.md

@ -101,6 +101,8 @@ The final folder/file structure should be as shown below:
EF Core requires that you relate the entities with your `DbContext`. The easiest way to do so is adding a `DbSet` property to the `BookStoreDbContext` class in the `Acme.BookStore.EntityFrameworkCore` project, as shown below:
````csharp
using Acme.BookStore.Books;
public class BookStoreDbContext : AbpDbContext<BookStoreDbContext>
{
public DbSet<Book> Books { get; set; }

Loading…
Cancel
Save