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.
try to seperate SqlParameter:
SqlParameter param1 = new SqlParameter("@p0","value"); SqlParameter param2 = new SqlParameter("@p1","value"); var createdPath = ModelContext.Paths.FromSqlRaw("AddNodeWithPathProc @p0 @p1", param1, param2).Single();