More than one DbContext was found

Code Example - More than one DbContext was found

                
                        Add-Migration MyMigration -context DataContextName

Add-Migration "InitialCreate" -context "DonationDbContext"
Update-database -context "DonationDbContext"
                    
                
 

More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands.

                        
                                Add-Migration MyFirstMigration -Context BloggingContext
update-database -Context BloggingContext