Anu

Anu

  • 1.5k
  • 197
  • 8.8k

Converting a stored procedure result to IEnumerable type

Sep 24 2020 9:55 AM
I have a stored procedure which returns only 2 columns from the table in the database. The result of the stored procedure need to be coverted to an IEnumerable type.The table name and the column names will be available only at runtime. So need to create an IEnumerable object dynamically without giving the object name. 

Answers (1)