I am using below migration script to query against postgreSQL with EF core, for column names and table names i need to be enclosed with this symbol " "
.
according to above condition i am writing the script like below, is there any way to escape the concatenation with +
sign
migrationBuilder.Sql("UPDATE " + "\"" + "LibraryPipePlantTypes" + "\"" + " SET " + "\"" + "MasterSectionName" + "\"" + " = "+ "'" + "Library Pipe Plant Type" + "'" + " WHERE" + "\"" + "MasterSectionName" + "\"" + " = " + "'" + "Library Hydronic Plant Type" + "'");
Many thanks in advance.