0

I currently have a stored procedures that could return different types of data depending on the arguments passed. i.e:

EXEC spGetData 'CAR'

Will execute:

SELECT * from dbo.Car
EXEC spGetData 'TRUCK'

Will execute:

SELECT * from dbo.Truck

I want to execute this stored procedure from EFCore 5 and without using ADO.NET if possible.

Is this possible?

Ali Bdeir
  • 4,151
  • 10
  • 57
  • 117

0 Answers0