EF 6.2, WPF - Get data from database preview results - doesn't work

0

I have problem with EF 6.2 and WPF application. When I try get data from DB (any collection) receives a message on Results View:

Expanding the Results View will enumerate the IEnumerable

when I expand next level message

The function evaluation requires all threads to run

when I click refresh icon message it's changing

Unable to evaluate the expression. Operation not supported. Unknown error: 0x80070057.

Image: enter image description here

When I add .ToList() at the end of query everything's working fine I can view the results of my query. My code working OK but when i debbunging I can't show my result - this is very useful.

I do not want to add .ToList() for each my query because is part of big query.

c#
wpf
entity-framework
dbcontext
asked on Stack Overflow Aug 17, 2018 by 18666 • edited Aug 17, 2018 by 18666

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0