Become a patron and get access to source code and exclusive live streams: / adding-ef-in-81381730
Adding a property to an entity is super easy! Adding a property to an entity with a million records in the production database is not. Adding a property to a production database without stopping the application, and with the old version of the application running with no issues - well, that can be a challenge.
In this video, you will learn a step-by-step procedure of augmenting a model with a new property, provided that the model has already been used in production, and hence there are many existing records in its database table.
By the end of this video, you will learn how to advance the database schema and application code in safe manner, so that each version of the application is fully operational during the database update. All updates, both on the database and on the application side, will be performed with zero downtime. That also opens the possibility of using CI/CD and other forms of automation in the process.
Learn more from video courses:
Beginning Object-oriented Programming with C# ► https://codinghelmet.com/go/beginning...
Collections and Generics in C# ► https://codinghelmet.com/go/collectio...
Making Your C# Code More Object-oriented ► https://codinghelmet.com/go/making-yo...
Other courses at Pluralsight ► https://codinghelmet.com/go/pluralsight
Other courses at Udemy ► https://codinghelmet.com/go/udemy
Other videos on this channel you may be interested in watching:
Using GitHub Copilot to Write Complex Code | Step-by-step Tutorial ► • Using GitHub Copilot to Write Complex...
Coding with GitHub Copilot - Beginner to Master | VS Code Demo ► • A Comprehensive Guide to GitHub Copil...
What is Covariance and Contravariance in C# ► • What is Covariance and Contravariance...
How to Initialize a Clean ASP.NET Core Project with Entity Framework Core and Identity ► • How to Initialize a Clean ASP.NET Cor...
The Null Conundrum: A Guide to Optional Objects in C# ► • How to Avoid Null Reference Exception...
#entityframeworkcore #entityframework #dotnet