dotnet / AspNetCore.Docs

Documentation for ASP.NET Core
https://docs.microsoft.com/aspnet/core
Creative Commons Attribution 4.0 International
12.65k stars 25.28k forks source link

Incorrect: Adopting EF Core's code-first approach speeds up the process of app development #34208

Open beachseeker opened 5 days ago

beachseeker commented 5 days ago

Description

This is an opinion which is only true for persons with minimal experience working with the given DB. All moderate to experienced DB developers will find using the native DB design tools easier than hacking through the model markup and relationship syntax required for EFCore. Also, as of my last doc review, there are still elements in DBs which EFCore has no capability to model in code. These are often useful or best-practice things that EFCore SHOULD support, and which are necessary to build high-capability, efficient DBs, but by using code-first are not available to the developer. Finally, I believe this is bad advice leading to poor database design. Using code-first, a beginner developer will not be exposed to the theory, full capability, and practical experience which is necessary to build a good DB.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/blazor/tutorials/movie-database-app/part-2?view=aspnetcore-9.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/tutorials/movie-database-app/part-2.md

Document ID

f9acc6f3-d6e2-ca66-9a66-7e0ea09aa38f

Article author

@guardrex

Related Issues

github-actions[bot] commented 5 days ago

๐Ÿ‚๐ŸŽƒ๐Ÿฎ Autumn Skies and Pumpkin Pies! ๐Ÿฅงโ˜•๐Ÿ‚

Stand by! A green dinosaur ๐Ÿฆ– will arrive shortly to assist.

guardrex commented 5 days ago

Hello @beachseeker ... I'll pass this one to Dan Roth, Principal Product Manager of .NET, to address. Stand-by until he gets on here.

Note that we're on the ๐Ÿฆƒ holiday week, so his arrival here might be delayed until next week.