Entity Framework allows mapping of stored procedure results to non-entity types using the ________ configuration.

  • MapTo
  • FromSql
  • ToList
  • MapToSql
The correct option is "FromSql." In Entity Framework, the FromSql method is used to execute a raw SQL query or call a stored procedure and map the result to non-entity types. It allows you to work with the result set returned by the stored procedure efficiently.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *