dotnet / EntityFramework.Docs

Documentation for Entity Framework Core and Entity Framework 6
https://docs.microsoft.com/ef/
Creative Commons Attribution 4.0 International
1.63k stars 1.96k forks source link

.NET 9: Code only EF with RP add inheritance and advanced topics #4633

Open Rick-Anderson opened 10 months ago

Rick-Anderson commented 10 months ago

Update the code for Razor Pages with Entity Framework Core in ASP.NET Core from .NET 6 to .NET 9

  1. Update the .NET 6 code in the cu90 to .NET 9 the cu90 is a copy of the .NET 6 code

  2. Quick review of code and update where necessary.

    Double bonus points

  3. Add code for inheritance. Hopefully you can use some of the code from Tutorial: Implement inheritance - ASP.NET MVC with EF Core.

  4. Consider adding code supporting Tutorial: Learn about advanced scenarios - ASP.NET MVC with EF Core. Once the preceding is complete, we'll port all the RP code and update the Tutorial: Get started with EF Core in an ASP.NET MVC web app

Also tracked in https://github.com/dotnet/AspNetCore.Docs/issues/26505

cincuranet commented 3 days ago
cincuranet commented 3 days ago

@Rick-Anderson Regarding 4. There's already code for inheritance, i.e. here. Do you have something else in mind?

Rick-Anderson commented 3 days ago

@Rick-Anderson Regarding 4. There's already code for inheritance, i.e. here. Do you have something else in mind?

That should do it. I was looking at the MVC version folder and the MVC docs