2 ms·
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
by 5e92cb50239222b 3y ago
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-queries#passing-parameters https://learn.microsoft.com/en-us/ef/core/querying/sql-queri...
- kaba0 3y agoNot sure if C# can do that, but java’s implementation can return an arbitrary object based on the templates/parameters.