The following code in a .Net core console application (EF core 2.0/Sql server).
var sql = _context.Set<string>()
.FromSql("select dbo.FunctionReturnVarchar({0});", id);
got the following exception?
Cannot create a DbSet for 'string' because this type is not included in the model for the context.
Is it a way without defining a class with a property of string?