How to call a stored procedure and map its results in EF Core 11

Use FromSql on a DbSet when the procedure returns full entity rows, Database.SqlQuery when it returns a projection, and ExecuteSql when it returns nothing. Never chain a LINQ operator onto an EXEC, and never read an output parameter before the reader is disposed.