Is there a way to return a single string result from a raw sql query in asp.net core 2.2 without referring to a DBSet in the databaseContext?
object[] parameters = ...;
string query=@" select (select string_agg(bio.""Table"".""Column"", ',') from schema.""Table"")
from schema2.""Table2""
...
";
this.GetDatabaseContext().??????.FromSQL(query, parameters);