Anu

Anu

  • 2k
  • 3
  • 111

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. 

Brought to you by:

Answers (1)