Browse Source

Merge pull request #23229 from abpframework/auto-merge/rel-9-2/3841

Merge branch rel-9.3 with rel-9.2
pull/23230/head
maliming 7 months ago
committed by GitHub
parent
commit
d7906170b0
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