I want to update database on Azure SQL to fit .Net Core application using Entity Framework Core migrations. The following command is advised online:
Update-Database -ConnectionString $ConnectionString -ConnectionProviderName "System.Data.SqlClient"
However, it does not work since Update-Database cmdlet does not recognize parameter –ConnectionString. How can automate database migrations?
-Connectionnot-ConnectionStringUpdate-Database [[-Migration] <String>] [-Context <String>] [-Project <String>] [-StartupProject <String>] [<CommonParameters>]Update-Database -ConnectionUpdate-Database : A parameter cannot be found that matches parameter name 'Connection'.Update-Databasewhich of the remote databases on Azure SQL is needed to be updated?