This is a solved problem in .NET, and C# only has one kind of string templating:
FormattableString foo = $"select * from {table} where {column} = 42";
https://learn.microsoft.com/en-us/ef/core/querying/sql-queri...