Check here for the fix details
你可以这样调用它 – var userType = dbContext.Set()。Fromsql(“dbo.SomeSproc @Id = {0},@Name = {1}”,45,“Ada”);