I recently migrated from EF Core 2.2 to EF Core 3.0.
Unfortunately, I haven\'t found a way to call a stored procedure that returns an entity.
In EF Core 2.
var result=context.yourmodelclass.FromSqlInterpolated($"StoredProcedureName {param1},{param2}").tolist();
You can add multiple parameters if needed. Note: