Composing Raw SQL And LINQ Queries With EF #shorts

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

ef 7 I have an excaption 'The element type used in 'SqlQuery' method is not natively supported by your database provider. Either use a supported element type, or use to define a mapping for your type.'

Bogdan_Lysenko
Автор

I would also like to know if there is a performance difference in writing that query in sql rather then combnining :o

distinguishedmoments
Автор

Interesting. I did not know this. What would be a use case for this?

ms