Skip to content

About Supporting repo to go with book "Entity Framework Core in Action", the second edition

License

Notifications You must be signed in to change notification settings

abhishekgoenka/BookApp

Repository files navigation

BookApp

This repository demonstrates couple of good concepts on Entry Framework.

  • Seeding database
  • Loading related data
    • Eager Loading
    • Explicit Loading
    • Select loading
    • Lazy loading
  • Handling relationship
    • one-to-one
    • one-to-many
    • many-to-many
  • Sorting, Filtering and Paging
  • CRUD operation on DB

Requirements

  1. .NET 5
  2. dotnet tool install --global dotnet-ef

Getting Started

  1. Clone this repository

    git clone https://github.com/abhishekgoenka/BookApp.git
    cd BookApp

Running the app

The main projects you can run are

  1. MyFirstEfCoreApp, which is the console application
  2. BookApp, which is the ASP.NET Core application